diff --git a/Makefile b/Makefile index 06e7728..4c13b05 100644 --- a/Makefile +++ b/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 +