summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..2b33341
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,23 @@
+.PHONY: all
+all: deploy
+
+.PHONY: deploy
+deploy: clean build serve
+
+.PHONY: provision
+provision:
+ sudo sh provisioning/run.sh
+
+.PHONY: build
+build:
+ cd vhosts/t/albatross; make -f Makefile.prod build
+
+.PHONY: serve
+serve:
+ sudo systemctl start mioproxy
+ cd vhosts/t/albatross; make -f Makefile.prod serve
+
+.PHONY: clean
+clean:
+ cd vhosts/t/albatross; make -f Makefile.prod clean
+ sudo systemctl stop mioproxy