Skip to content

Commit

Permalink
Fixed the test for pyxel package
Browse files Browse the repository at this point in the history
  • Loading branch information
kitao committed Jan 8, 2022
1 parent 41dbfcb commit 41eac01
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions lib/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,14 @@ test: build
@for example in $(wildcard $(EXAMPLES_DIR)/[0-9][0-9]_*.py); do \
$(PYXEL_COMMAND) run $$example; \
done
@$(PYXEL_COMMAND) play $(EXAMPLES_DIR)/30SecondsOfDaylight.pyxapp
@$(PYXEL_COMMAND) edit $(EXAMPLES_DIR)/assets/sample.pyxres

@rm -rf testapp testapp.pyxapp
@mkdir -p testapp/assets
@cp $(EXAMPLES_DIR)/10_*.py testapp
@cp $(EXAMPLES_DIR)/10_platformer.py testapp
@cp $(EXAMPLES_DIR)/assets/platformer.pyxres testapp/assets
@$(PYXEL_COMMAND) package testapp testapp/*.py
@$(PYXEL_COMMAND) package testapp 10_platformer.py
@$(PYXEL_COMMAND) play testapp.pyxapp
@rm -rf testapp testapp.pyxapp

Expand Down

0 comments on commit 41eac01

Please sign in to comment.