From 6cdcb43713cd6ea1c799b57b73ccaa586e7ea542 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Thu, 31 Mar 2016 12:25:59 +0200 Subject: [PATCH] Configurable Frey version --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 583d620..5eb3e4b 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,12 @@ +FREY_VERSION := 0.3.13 + PHONY: frey frey: - @npm install --global frey@0.3.13 + @grep $(FREY_VERSION) node_modules/frey/package.json 2>&1 > /dev/null || npm install frey@$(FREY_VERSION) + +PHONY: provision +provision: frey + @source env.sh && node_modules/.bin/frey install PHONY: deploy deploy: