Skip to content

Commit 4b3d27e

Browse files
committed
gitignore: add output of wasm-bindgen (make build-wasm)
1 parent 071c98c commit 4b3d27e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,7 @@
33
circuit-blobs
44
.DS_Store
55
*.profraw
6-
node_modules
6+
node_modules
7+
8+
# Output of build-wasm
9+
pkg/

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ build-vrf: ## Build the VRF package
4343
build-wasm: ## Build WebAssembly node
4444
@cd node/web && cargo +nightly build \
4545
--release --target wasm32-unknown-unknown
46+
# Update ./.gitignore accordingly if the out-dir is changed
4647
@wasm-bindgen --keep-debug --web \
4748
--out-dir pkg \
4849
target/wasm32-unknown-unknown/release/openmina_node_web.wasm

0 commit comments

Comments
 (0)