mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-18 10:29:43 +00:00
12 lines
367 B
Makefile
12 lines
367 B
Makefile
dev:
|
|
#!/usr/bin/env bash
|
|
set -euxo pipefail
|
|
export ACME_API=https://acme.mock.directory
|
|
export ACME_ACCEPT_TERMS=true
|
|
export PAGES_DOMAIN=localhost.mock.directory
|
|
export RAW_DOMAIN=raw.localhost.mock.directory
|
|
export PORT=4430
|
|
go run . --verbose
|
|
|
|
build:
|
|
CGO_ENABLED=0 go build -ldflags '-s -w' -v -o build/codeberg-pages-server ./
|