Skip to content

Commit 73cb4df

Browse files
authored
chore: add clean targets for generated artifacts (#53)
1 parent 5782a56 commit 73cb4df

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.PHONY: clean
2+
3+
clean:
4+
cargo clean
5+
rm -rf bin pkg tmp
6+
rm -f wasm-pack.log
7+
rm -rf tests/node/node_modules tests/node/pkg tests/node/dist tests/node/build tests/node/coverage tests/node/.cache
8+
find . -name '*.log' -type f -delete
9+
find . -name '*.test' -type f -delete
10+
find . -name '*.profraw' -type f -delete

tests/node/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
"lint": "eslint .",
44
"lint:fix": "eslint --fix .",
55
"build": "wasm-pack build --target nodejs --all-features",
6-
"test": "jest"
6+
"test": "jest",
7+
"clean": "rm -rf node_modules pkg dist build coverage .cache *.log"
78
},
89
"devDependencies": {
910
"@types/jest": "^30.0.0",

0 commit comments

Comments
 (0)