File tree 1 file changed +17
-1
lines changed
1 file changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ anchor build
69
69
70
70
Builds programs in the workspace targeting Solana's BPF runtime and emitting IDLs in the ` target/idl ` directory.
71
71
72
-
73
72
``` shell
74
73
anchor build --skip-lint
75
74
```
@@ -221,6 +220,23 @@ Initializes a project workspace with the following structure.
221
220
- ` tests/ ` : Directory for JavaScript integration tests.
222
221
- ` migrations/deploy.js ` : Deploy script.
223
222
223
+ ``` shell
224
+ anchor init --template multiple
225
+ ```
226
+
227
+ Creates a more structured program project template (rather than only a single ` lib.rs ` file):
228
+
229
+ ```
230
+ ├── constants.rs
231
+ ├── error.rs
232
+ ├── instructions
233
+ │ ├── initialize.rs
234
+ │ └── mod.rs
235
+ ├── lib.rs
236
+ └── state
237
+ └── mod.rs
238
+ ```
239
+
224
240
## Keys
225
241
226
242
Program keypair commands.
You can’t perform that action at this time.
0 commit comments