From 1ebdb78c0c710427481da79260e7b7573b331334 Mon Sep 17 00:00:00 2001 From: Sam Anthony Date: Sun, 17 Apr 2022 21:33:34 -0230 Subject: add dev mode and tls support to server --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Makefile') 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/ -- cgit v1.2.3