File tree Expand file tree Collapse file tree 3 files changed +29
-0
lines changed
Expand file tree Collapse file tree 3 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -Eeuo pipefail
33
4+ # Description:
5+ # This script removes Node build artifacts generated by the o1js build process
6+ # as well as test-related output files:
7+ # - Runs the primary clean script to remove `dist/` and `src/bindings/compiled/_node_bindings`.
8+ # - Deletes test report and test artifacts directories under `tests/`.
9+ #
10+ # Usage:
11+ # npm run clean:all
12+
13+
414# shared libraries
515SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
616source " $SCRIPT_DIR /../lib/ux.sh"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -Eeuo pipefail
33
4+ # Description:
5+ # Deep-clean o1js build artifacts produced across multiple toolchains. This script
6+ # removes compiled JS outputs, compiled node/web bindings, and intermediate outputs created
7+ # by OCaml/Dune, Rust/WASM, and the Mina proof-systems build.
8+ #
9+ # Usage:
10+ # npm run clean:artifacts
11+
12+
413# shared libraries
514SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
615source " $SCRIPT_DIR /../lib/ux.sh"
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -Eeuo pipefail
33
4+ # Description:
5+ # This script removes build artifacts generated by the o1js build process.
6+ # Specifically, it cleans the `dist/` output directory and the compiled
7+ # Node.js bindings under `src/bindings/compiled/_node_bindings`, which are
8+ # the artifacts required to work with Node locally.
9+ #
10+ # Usage:
11+ # npm run clean
12+
13+
414# shared libraries
515SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd) "
616source " $SCRIPT_DIR /../lib/ux.sh"
You can’t perform that action at this time.
0 commit comments