Configurable Frey version

This commit is contained in:
Kevin van Zonneveld 2016-03-31 12:25:59 +02:00
parent 8e91ba9b92
commit 6cdcb43713
1 changed files with 7 additions and 1 deletions

View File

@ -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: