Add --verbose flag and hide debug messages by default

This commit is contained in:
Moritz Marquardt 2021-12-10 14:32:14 +01:00
parent 73fa2da646
commit adfc96ab94
No known key found for this signature in database
GPG key ID: D5788327BEE388B6
3 changed files with 13 additions and 1 deletions

View file

@ -6,7 +6,7 @@ dev:
export PAGES_DOMAIN=localhost.mock.directory
export RAW_DOMAIN=raw.localhost.mock.directory
export PORT=4430
go run .
go run . --verbose
build:
CGO_ENABLED=0 go build -ldflags '-s -w' -v -o build/codeberg-pages-server ./