diff --git a/languages/js/Makefile b/languages/js/Makefile index 4ff33b0bc2..ec35b98d0e 100644 --- a/languages/js/Makefile +++ b/languages/js/Makefile @@ -1,6 +1,6 @@ .PHONY: wasm install clean dev build fmtcheck typecheck lint parity test -wasm: clean install +wasm: clean rm -f src/polar_wasm_api.js src/polar_wasm_api.d.ts src/polar_wasm_api_bg.wasm src/polar_wasm_api_bg.d.ts $(MAKE) -C ../../polar-wasm-api build mkdir -p dist/src @@ -9,7 +9,7 @@ wasm: clean install install: yarn install -clean: +clean: install yarn clean dev: wasm @@ -18,16 +18,16 @@ dev: wasm build: wasm yarn tsc --project tsconfig.build.json -fmtcheck: install +fmtcheck: clean yarn fmtcheck -typecheck: install wasm +typecheck: wasm yarn tsc lint: fmtcheck typecheck -parity: install wasm +parity: wasm yarn ts-node test/parity.ts -test: install wasm +test: wasm yarn test