update running

This commit is contained in:
Nazar Kanaev 2021-02-28 20:31:49 +00:00
parent 089f0ee30b
commit 93eeef0131
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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 .