summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: 8f2fc32696cffe5e23d9ddd981086c8fef75430b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.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
	cd vhosts/t/albatross-swift; make -f Makefile.prod build

.PHONY: serve
serve:
	sudo systemctl start mioproxy
	# cd vhosts/t/albatross; make -f Makefile.prod serve
	cd vhosts/t/albatross-swift; make -f Makefile.prod serve

.PHONY: clean
clean:
	cd vhosts/t/albatross-swift; make -f Makefile.prod clean
	# cd vhosts/t/albatross; make -f Makefile.prod clean
	sudo systemctl stop mioproxy