Add sqlite3 tag to modd files and linux app build (#4218)

This commit is contained in:
Miguel de la Cruz 2022-11-16 16:51:25 +01:00 committed by GitHub
parent 824724387c
commit b582e5920c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,8 @@
.PHONY: run
run:
go run -tags json1 ./main.go
go run -tags "json1 sqlite3" ./main.go
build:
mkdir -p bin
go build -tags json1 -o bin/focalboard-app
go build -tags "json1 sqlite3" -o bin/focalboard-app

View file

@ -12,7 +12,7 @@ require (
)
require (
github.com/Masterminds/squirrel v1.5.2 // indirect
github.com/Masterminds/squirrel v1.5.3 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/blang/semver v3.5.1+incompatible // indirect
github.com/blang/semver/v4 v4.0.0 // indirect

View file

@ -85,8 +85,8 @@ github.com/BurntSushi/toml v0.3.1 h1:WXkYYl6Yr3qBf1K79EBnL4mak0OimBfB0XUf9Vl28OQ
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod h1:IVnqGOEym/WlBOVXweHU+Q+/VP0lqqI8lqeDx9IjBqo=
github.com/ClickHouse/clickhouse-go v1.4.3/go.mod h1:EaI/sW7Azgz9UATzd5ZdZHRUhHgv5+JMS9NSr2smCJI=
github.com/Masterminds/squirrel v1.5.2 h1:UiOEi2ZX4RCSkpiNDQN5kro/XIBpSRk9iTqdIRPzUXE=
github.com/Masterminds/squirrel v1.5.2/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10=
github.com/Masterminds/squirrel v1.5.3 h1:YPpoceAcxuzIljlr5iWpNKaql7hLeG1KLSrhvdHpkZc=
github.com/Masterminds/squirrel v1.5.3/go.mod h1:NNaOrjSoIDfDA40n7sr2tPNZRfjzjA400rg+riTZj10=
github.com/Microsoft/go-winio v0.4.11/go.mod h1:VhR8bwka0BXejwEJY73c50VrPtXAaKcyvVC4A4RozmA=
github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod h1:tTuCMEN+UleMWgg9dVx4Hu52b1bJo+59jBh3ajtinzw=

View file

@ -1,3 +1,3 @@
**/*.go {
prep: cd server && go test -tags $FOCALBOARD_BUILD_TAGS -race -v ./...
prep: cd server && go test -tags "$FOCALBOARD_BUILD_TAGS" -race -v ./...
}

View file

@ -1,5 +1,5 @@
**/*.go !**/*_test.go {
prep: cd server && go build -tags $FOCALBOARD_BUILD_TAGS -o ../bin/focalboard-server ./main
prep: cd server && go build -tags "$FOCALBOARD_BUILD_TAGS" -o ../bin/focalboard-server ./main
daemon +sigterm: ./bin/focalboard-server $FOCALBOARDSERVER_ARGS
}