summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 5add856..5db9fc4 100644
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,11 @@
-build: tidy format
- go build
+build_dev: tidy format
+ go build -o devserver
+
+serve_dev: build_dev
+ ./devserver --dev
-serve: tidy format
- go run .
+build: tidy format
+ GOOS=openbsd GOARCH=amd64 go build -o webserver
live:
rsync -rtvzP ./htdocs/ sam@samanthony.xyz:/var/www/htdocs/samanthony.xyz/