Skip to content

Commit 600ccff

Browse files
committed
Update contracts build instructions
1 parent 764ed4f commit 600ccff

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -319,13 +319,19 @@ cargo fmt \
319319

320320
**Contracts**
321321

322-
Step 1 (fast checks)
322+
Step 1 (fast checks, rebuilds lock files)
323+
324+
```sh
325+
for contract_dir in contracts/*/; do (cd "$contract_dir" && cargo check --tests) || break; done
326+
```
327+
328+
Step 2 (medium fast checks)
323329

324330
```sh
325331
for contract_dir in contracts/*/; do (cd "$contract_dir" && cargo fmt && cargo check --tests && cargo wasm-debug && cargo unit-test && cargo clippy -- -D warnings && cargo schema) || break; done
326332
```
327333

328-
Step 2 (slower checks)
334+
Step 3 (slower checks)
329335

330336
```sh
331337
for contract_dir in contracts/*/; do (cd "$contract_dir" && cargo wasm && cargo integration-test) || break; done

0 commit comments

Comments
 (0)