mirror of
https://github.com/nkanaev/yarr.git
synced 2025-09-13 09:55:36 +00:00
update running
This commit is contained in:
3
makefile
3
makefile
@@ -31,3 +31,6 @@ build_windows:
|
||||
go run bin/generate_versioninfo.go -version "$(VERSION)" -outfile src/platform/versioninfo.rc
|
||||
windres -i src/platform/versioninfo.rc -O coff -o src/platform/versioninfo.syso
|
||||
go build -tags "sqlite_foreign_keys release windows" -ldflags="$(GO_LDFLAGS) -H windowsgui" -o _output/windows/yarr.exe main.go
|
||||
|
||||
serve:
|
||||
go run -tags "sqlite_foreign_keys" src/main.go
|
||||
|
@@ -23,7 +23,7 @@ Then run one of the corresponding commands:
|
||||
make build_windows # -> _output/windows/yarr.exe
|
||||
|
||||
# ... or start a dev server locally
|
||||
go run main.go # starts a server at http://localhost:7070
|
||||
make serve # starts a server at http://localhost:7070
|
||||
|
||||
# ... or build a docker image
|
||||
docker build -t yarr .
|
||||
|
Reference in New Issue
Block a user