tusd/Makefile

31 lines
826 B
Makefile
Raw Normal View History

2016-10-12 18:49:50 +00:00
FREY_VERSION := 0.3.25
2016-03-31 10:25:59 +00:00
2016-03-31 10:27:16 +00:00
.PHONY: frey
frey:
2016-09-15 10:49:15 +00:00
@cd .infra && mkdir -p node_modules
@cd .infra && (grep $(FREY_VERSION) node_modules/frey/package.json 2>&1 > /dev/null || npm install frey@$(FREY_VERSION))
2016-03-31 10:25:59 +00:00
2016-03-31 10:27:16 +00:00
.PHONY: provision
2016-03-31 10:25:59 +00:00
provision: frey
2016-09-15 10:49:15 +00:00
@cd .infra && source env.sh && node_modules/.bin/frey install
2016-03-31 10:27:16 +00:00
.PHONY: deploy
2016-09-15 10:49:15 +00:00
deploy: frey
@cd .infra && source env.sh && node_modules/.bin/frey setup
2016-03-31 10:27:16 +00:00
.PHONY: launch
2016-09-15 10:49:15 +00:00
launch: frey
@cd .infra && source env.infra.sh && node_modules/.bin/frey infra
2016-03-31 10:27:16 +00:00
.PHONY: console
2016-09-15 10:49:15 +00:00
console: frey
@cd .infra && source env.sh && node_modules/.bin/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