mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2024-11-18 10:29:43 +00:00
Add build script & ignore files
This commit is contained in:
parent
eae4513b96
commit
ce802734d4
2 changed files with 5 additions and 0 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,5 @@
|
||||||
.idea/
|
.idea/
|
||||||
*.iml
|
*.iml
|
||||||
key-database.pogreb/
|
key-database.pogreb/
|
||||||
|
acme-account.json
|
||||||
|
build/
|
||||||
|
|
3
Justfile
3
Justfile
|
@ -7,3 +7,6 @@ dev:
|
||||||
export RAW_DOMAIN=raw.localhost.mock.directory
|
export RAW_DOMAIN=raw.localhost.mock.directory
|
||||||
export PORT=4430
|
export PORT=4430
|
||||||
go run .
|
go run .
|
||||||
|
|
||||||
|
build:
|
||||||
|
CGO_ENABLED=0 go build -ldflags '-s -w' -v -o build/codeberg-pages-server ./
|
||||||
|
|
Loading…
Reference in a new issue