Skip to content

Commit c476324

Browse files
committed
Move pinocchio crates into subdirectory
#### Problem The Makefile model uses a slightly hacky way of distinguishing subdirectories, where anything before the first `-` is taken to be a directory name. This is a problem for `p-token` and `p-interface`, since the Makefile will look in `p/token` and `p/interface`. #### Summary of changes Move p-token into pinocchio/program and p-interface into pinocchio/interface. Update everything else as needed.
1 parent 998ad67 commit c476324

File tree

87 files changed

+10
-10
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+10
-10
lines changed

.github/workflows/publish-rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ on:
1111
options:
1212
- clients/rust
1313
- interface
14-
- p-interface
14+
- pinocchio/interface
15+
- pinocchio/program
1516
- program
16-
- p-token
1717
level:
1818
description: Level
1919
required: true

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[workspace]
22
resolver = "2"
3-
members = ["interface", "p-interface", "p-token", "program"]
3+
members = ["interface", "pinocchio/interface", "pinocchio/program", "program"]
44

55
[workspace.package]
66
authors = ["Anza Maintainers <[email protected]>"]

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@
2424
"rust:audit": "zx ./scripts/rust/audit.mjs",
2525
"rust:publish": "zx ./scripts/rust/publish.mjs",
2626
"rust:semver": "cargo semver-checks",
27-
"p-token:build": "zx ./scripts/rust/build-sbf.mjs p-token",
28-
"p-token:format": "zx ./scripts/rust/format.mjs p-token",
29-
"p-token:lint": "zx ./scripts/rust/lint.mjs p-token",
30-
"p-token:test": "zx ./scripts/rust/test.mjs p-token",
27+
"p-token:build": "zx ./scripts/rust/build-sbf.mjs pinocchio/program",
28+
"p-token:format": "zx ./scripts/rust/format.mjs pinocchio/program",
29+
"p-token:lint": "zx ./scripts/rust/lint.mjs pinocchio/program",
30+
"p-token:test": "zx ./scripts/rust/test.mjs pinocchio/program",
3131
"fixtures:clean": "zx ./scripts/rust/fixtures.mjs clean",
3232
"fixtures:generate": "zx ./scripts/rust/fixtures.mjs generate",
3333
"fixtures:run": "zx ./scripts/rust/fixtures.mjs run",
34-
"p-interface:format": "zx ./scripts/rust/format.mjs p-interface",
35-
"p-interface:lint": "zx ./scripts/rust/lint.mjs p-interface",
34+
"p-interface:format": "zx ./scripts/rust/format.mjs pinocchio/interface",
35+
"p-interface:lint": "zx ./scripts/rust/lint.mjs pinocchio/interface",
3636
"interface:format": "zx ./scripts/rust/format.mjs interface",
3737
"interface:lint": "zx ./scripts/rust/lint.mjs interface",
3838
"interface:test": "zx ./scripts/rust/test.mjs interface"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)