Eric Bower
·
18 Nov 24
Makefile
1fmt:
2 go fmt ./...
3 deno fmt
4.PHONY: fmt
5
6clean:
7 rm -rf ./public/*
8.PHONY: clean
9
10ssg:
11 go run ./main.go
12 cp ./static/* ./public
13.PHONY: ssg
14
15dev: ssg
16 rsync -vr ./public/ erock@pgs.sh:/starfx-local
17.PHONY: dev
18
19prod: ssg
20 rsync -vr ./public/ erock@pgs.sh:/starfx-prod
21.PHONY: prod