tusd/Makefile

30 lines
685 B
Makefile
Raw Normal View History

2016-03-31 10:25:59 +00:00
FREY_VERSION := 0.3.13
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)
PHONY: provision
provision: frey
@source env.sh && node_modules/.bin/frey install
PHONY: deploy
deploy:
@cd .infra && source env.sh && frey setup
PHONY: launch
launch:
@cd .infra && source env.infra.sh && frey infra
PHONY: console
console:
@cd .infra && source env.sh && frey remote
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
PHONY: console-localfrey
console-localfrey:
@cd .infra && source env.sh && babel-node ${HOME}/code/frey/src/cli.js remote