This commit is contained in:
Kevin van Zonneveld 2016-03-31 12:27:16 +02:00
parent 6cdcb43713
commit 58912fdcda
1 changed files with 7 additions and 7 deletions

View File

@ -1,29 +1,29 @@
FREY_VERSION := 0.3.13
PHONY: frey
.PHONY: frey
frey:
@grep $(FREY_VERSION) node_modules/frey/package.json 2>&1 > /dev/null || npm install frey@$(FREY_VERSION)
PHONY: provision
.PHONY: provision
provision: frey
@source env.sh && node_modules/.bin/frey install
PHONY: deploy
.PHONY: deploy
deploy:
@cd .infra && source env.sh && frey setup
PHONY: launch
.PHONY: launch
launch:
@cd .infra && source env.infra.sh && frey infra
PHONY: console
.PHONY: console
console:
@cd .infra && source env.sh && frey remote
PHONY: deploy-localfrey
.PHONY: deploy-localfrey
deploy-localfrey:
@cd .infra && source env.sh && babel-node ${HOME}/code/frey/src/cli.js setup
PHONY: console-localfrey
.PHONY: console-localfrey
console-localfrey:
@cd .infra && source env.sh && babel-node ${HOME}/code/frey/src/cli.js remote