Add tests target to Makefile
This commit is contained in:
parent
5562d82f49
commit
ee282cf148
7
Makefile
7
Makefile
|
@ -10,6 +10,10 @@ TARGET_WINDOWS?=Windows Desktop
|
|||
TARGET_MACOSX?=Mac OSX
|
||||
TARGET_LINUX?=Linux/X11
|
||||
WGET_ARGS?=-q
|
||||
|
||||
GODOT_GUT_SCRIPT?=addons/gut/gut_cmdln.gd
|
||||
GODOT_GUT_GDIR=res://tests/unit,res://tests/integration
|
||||
|
||||
build-dir:
|
||||
mkdir -p "$(BUILD_DIR)"
|
||||
|
||||
|
@ -50,3 +54,6 @@ install-templates:
|
|||
mv templates/ $(GODOT_TEMPLATE_DIR)/$(GODOT_TEMPLATE_VERSION)
|
||||
rm templates.tpz
|
||||
|
||||
tests:
|
||||
$(GODOT) -d -s $(GODOT_GUT_SCRIPT) --path $(GODOT_PROJECT_PATH) -gdir=$(GODOT_GUT_GDIR) -gexit
|
||||
|
||||
|
|
Loading…
Reference in New Issue