hbbs.decentral1.se/makefile

13 lines
202 B
Makefile
Raw Normal View History

2020-04-04 19:34:22 +02:00
REMOTE_HOST := hbbs.decentral1.se
SERVER := hbbs.server
2020-04-04 18:55:53 +02:00
2020-04-04 19:34:22 +02:00
default: serve
2020-04-04 18:55:53 +02:00
2020-04-04 19:34:22 +02:00
.PHONY: serve
serve:
2020-04-04 18:55:53 +02:00
@FLASK_ENV=development FLASK_APP=$(SERVER) flask run
2020-04-04 19:34:22 +02:00
.PHONY: hbbs
hbbs:
2020-04-04 19:35:02 +02:00
@fab -H $(REMOTE_HOST) hbbs