summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-03 13:28:58 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-03 13:28:58 +0000
commit63ba72371f74cb66244decf167bf8a2caee1a6ea (patch)
treed51324a87c3d8f4f3605bc21f4f00985b1baac8f /Makefile
parent98b46e77a32939a7a623f65135f9db4ea3485148 (diff)
downloadgitano-63ba72371f74cb66244decf167bf8a2caee1a6ea.tar.gz
Support --snapshot for yarn
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 378d43c..4e450c1 100644
--- a/Makefile
+++ b/Makefile
@@ -171,7 +171,7 @@ install-plugins:
install -m 644 $$LANGFILE $(DESTDIR)$(INST_ROOT)/lib/gitano/plugins; \
done
-YARN_ARGS :=
+YARN_ARGS ?=
ifneq ($(LUA_PATH),)
YARN_ARGS += --env LUA_PATH="$(LUA_PATH)"
endif
@@ -182,6 +182,10 @@ ifneq ($(SCENARIO),)
YARN_ARGS += --run "$(SCENARIO)"
endif
+ifneq ($(YARN_SNAPSHOT),)
+YARN_ARGS += --snapshot
+endif
+
TEST_PROTO ?= SSH
basictest: local $(TEST_BINS)