diff --git a/primer-api/Makefile b/primer-api/Makefile index 0ff34f4c8..ee663a006 100644 --- a/primer-api/Makefile +++ b/primer-api/Makefile @@ -3,8 +3,8 @@ # Most commands assume you're running this from the top-level `nix # develop` shell. -wasm32-primer-api-test := $(shell wasm32-wasi-cabal list-bin -v0 test:primer-api-test) -wasm32-primer-api-test-opt := $(shell wasm32-wasi-cabal list-bin -O2 -v0 test:primer-api-test) +wasm32-primer-api-test = $(shell wasm32-wasi-cabal list-bin -v0 test:primer-api-test) +wasm32-primer-api-test-opt = $(shell wasm32-wasi-cabal list-bin -O2 -v0 test:primer-api-test) build: cabal build @@ -25,6 +25,9 @@ check: test wasm32-check: wasm32-test +test: + cabal test + wasm32-test: tasty-discover test/Test.hs _ test/TestsWasm32.hs --tree-display wasm32-wasi-cabal build test:primer-api-test diff --git a/primer/Makefile b/primer/Makefile index 3596213ea..791620a5e 100644 --- a/primer/Makefile +++ b/primer/Makefile @@ -3,8 +3,8 @@ # Most commands assume you're running this from the top-level `nix # develop` shell. -wasm32-primer-test := $(shell wasm32-wasi-cabal list-bin -v0 test:primer-test) -wasm32-primer-test-opt := $(shell wasm32-wasi-cabal list-bin -O2 -v0 test:primer-test) +wasm32-primer-test = $(shell wasm32-wasi-cabal list-bin -v0 test:primer-test) +wasm32-primer-test-opt = $(shell wasm32-wasi-cabal list-bin -O2 -v0 test:primer-test) build: cabal build @@ -25,6 +25,9 @@ check: test wasm32-check: wasm32-test +test: + cabal test + wasm32-test: tasty-discover test/Test.hs _ test/TestsWasm32.hs --tree-display wasm32-wasi-cabal build test:primer-test