Update make check

This commit is contained in:
TakeV 2024-05-27 02:24:27 -04:00
parent 4fdedc5b0a
commit fb6d787aff
Signed by: TakeV
GPG key ID: A64F41345C7400AF

View file

@ -13,8 +13,7 @@ modules := \
$(wildcard modules/game/*.scm) \
$(wildcard external-lib/srfi/*.scm)
tests := \
$(wildcard test/tests/*.scm)
tests := test/tests/entity-manager-tests.scm
game.wasm: game.scm $(modules) $(external-lib)
guild compile-wasm -L modules -L external-lib -o $@ $<
@ -26,8 +25,8 @@ bundle: game.wasm
rm game.zip || true
zip game.zip -r assets/ js-runtime/ game.js game.css game.wasm index.html
check: $(tests)
guild compile-wasm -L modules -L test -L external-lib --run $<
check:
guild compile-wasm -L modules -L test -L external-lib --run $(tests) $<
clean:
rm -f game.wasm game.zip