Update make check
This commit is contained in:
parent
4fdedc5b0a
commit
fb6d787aff
1 changed files with 3 additions and 4 deletions
7
Makefile
7
Makefile
|
@ -13,8 +13,7 @@ modules := \
|
||||||
$(wildcard modules/game/*.scm) \
|
$(wildcard modules/game/*.scm) \
|
||||||
$(wildcard external-lib/srfi/*.scm)
|
$(wildcard external-lib/srfi/*.scm)
|
||||||
|
|
||||||
tests := \
|
tests := test/tests/entity-manager-tests.scm
|
||||||
$(wildcard test/tests/*.scm)
|
|
||||||
|
|
||||||
game.wasm: game.scm $(modules) $(external-lib)
|
game.wasm: game.scm $(modules) $(external-lib)
|
||||||
guild compile-wasm -L modules -L external-lib -o $@ $<
|
guild compile-wasm -L modules -L external-lib -o $@ $<
|
||||||
|
@ -26,8 +25,8 @@ bundle: game.wasm
|
||||||
rm game.zip || true
|
rm game.zip || true
|
||||||
zip game.zip -r assets/ js-runtime/ game.js game.css game.wasm index.html
|
zip game.zip -r assets/ js-runtime/ game.js game.css game.wasm index.html
|
||||||
|
|
||||||
check: $(tests)
|
check:
|
||||||
guild compile-wasm -L modules -L test -L external-lib --run $<
|
guild compile-wasm -L modules -L test -L external-lib --run $(tests) $<
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f game.wasm game.zip
|
rm -f game.wasm game.zip
|
||||||
|
|
Loading…
Reference in a new issue