tusd/Makefile

30 lines
692 B
Makefile
Raw Normal View History

2016-03-31 10:25:59 +00:00
FREY_VERSION := 0.3.13
2016-03-31 10:27:16 +00:00
.PHONY: frey
frey:
2016-03-31 10:25:59 +00:00
@grep $(FREY_VERSION) node_modules/frey/package.json 2>&1 > /dev/null || npm install frey@$(FREY_VERSION)
2016-03-31 10:27:16 +00:00
.PHONY: provision
2016-03-31 10:25:59 +00:00
provision: frey
@source env.sh && node_modules/.bin/frey install
2016-03-31 10:27:16 +00:00
.PHONY: deploy
deploy:
@cd .infra && source env.sh && frey setup
2016-03-31 10:27:16 +00:00
.PHONY: launch
launch:
@cd .infra && source env.infra.sh && frey infra
2016-03-31 10:27:16 +00:00
.PHONY: console
console:
@cd .infra && source env.sh && frey remote
2016-03-31 10:27:16 +00:00
.PHONY: deploy-localfrey
deploy-localfrey:
@cd .infra && source env.sh && babel-node ${HOME}/code/frey/src/cli.js setup
2016-03-30 14:13:20 +00:00
2016-03-31 10:27:16 +00:00
.PHONY: console-localfrey
2016-03-30 14:13:20 +00:00
console-localfrey:
@cd .infra && source env.sh && babel-node ${HOME}/code/frey/src/cli.js remote