Skip to content

Commit 8021c0d

Browse files
Fix after review.
1 parent 0e31281 commit 8021c0d

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

docs/developers/meta/sc-build-reference.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,11 @@ After building the contracts, there are three more operations left to perform, b
149149

150150
### g. Cleaning a project
151151

152-
Calling `cargo run clean` in the meta crate will run `cargo clean` in all wasm crates and delete the `output` folder.
152+
In order to clean a project and remove all build artifacts, run the following command:
153153

154-
Note that even the clean operation relies on the ABI, in order to reach all the wasm crates.
154+
```sh
155+
sc-meta all clean
156+
```
155157

156158
[comment]: # (mx-context-auto)
157159

docs/developers/meta/sc-meta-cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,7 @@ This command is similar to `build-dbg`, in that it provides a shorthand for buil
388388

389389
### Calling `clean`
390390

391-
Calling `cargo run clean` in the meta crate will delete the `output` folder and clean outputs of the Rust crates.
391+
Calling `sc-meta all clean` in the contract folder will remove all build artifacts, including the `output` folder.
392392

393393
[comment]: # (mx-context-auto)
394394

0 commit comments

Comments
 (0)