summaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-01-17 23:38:54 +0900
committernsfisis <nsfisis@gmail.com>2024-01-17 23:41:40 +0900
commitbb8d510516888fe1cda506c1a5816cee339eace3 (patch)
treeeaa9ee8824f3b77cf4e43802aacbee0129e8a05e /Makefile
parent9c448ed58559e54c152b7809a4bd1a6df56dcd95 (diff)
downloadnil.ninja-bb8d510516888fe1cda506c1a5816cee339eace3.tar.gz
nil.ninja-bb8d510516888fe1cda506c1a5816cee339eace3.tar.zst
nil.ninja-bb8d510516888fe1cda506c1a5816cee339eace3.zip
add files
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