From e6cfd1f14d1add9503264e1e13cce4d2b464b192 Mon Sep 17 00:00:00 2001 From: Gabe Jackson Date: Tue, 18 Aug 2020 14:28:57 -0400 Subject: [PATCH] Rework Makefile dependencies --- languages/js/Makefile | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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