Skip to content

Commit

Permalink
fix: Wasm32 Makefile shell commands should be lazy
Browse files Browse the repository at this point in the history
Signed-off-by: Drew Hess <[email protected]>
  • Loading branch information
dhess committed Nov 30, 2023
1 parent a95391a commit ada0fa5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions primer-api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions primer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ada0fa5

Please sign in to comment.