diff options
| author | Sam Anthony <sam@samanthony.xyz> | 2022-04-17 21:33:34 -0230 |
|---|---|---|
| committer | Sam Anthony <sam@samanthony.xyz> | 2022-04-17 21:33:34 -0230 |
| commit | 1ebdb78c0c710427481da79260e7b7573b331334 (patch) | |
| tree | e40791d2a6bc780f7abfd917446d567d86a7a771 /Makefile | |
| parent | fefe7774c5b75f8a1c8923a7c394e6f025223e5e (diff) | |
| download | samanthony.xyz-1ebdb78c0c710427481da79260e7b7573b331334.zip | |
add dev mode and tls support to server
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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/ |