summaryrefslogtreecommitdiffhomepage
path: root/Makefile
blob: fd21c7a083b17ae07d9f83ec66a0b65b8aa59f4c (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
27
28
29
.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
	cd vhosts/t/albatross-php-2025; 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
	cd vhosts/t/albatross-php-2025; make -f Makefile.prod serve

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