1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-11-27 08:31:20 +02:00

require build tag to include sqlite (#4213) (#4216)

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
(cherry picked from commit 824724387c)

Co-authored-by: Doug Lauder <wiggin77@warpmail.net>
This commit is contained in:
Mattermost Build 2022-11-16 16:11:42 +02:00 committed by GitHub
parent 84932d4f25
commit 1d14e24e9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

@ -12,7 +12,7 @@ ifeq ($(BUILD_NUMBER),)
BUILD_DATE := n/a
endif
BUILD_TAGS += json1
BUILD_TAGS += json1 sqlite3
LDFLAGS += -X "github.com/mattermost/focalboard/server/model.BuildNumber=$(BUILD_NUMBER)"
LDFLAGS += -X "github.com/mattermost/focalboard/server/model.BuildDate=$(BUILD_DATE)"

View File

@ -10,7 +10,6 @@ import (
sq "github.com/Masterminds/squirrel"
_ "github.com/lib/pq" // postgres driver
"github.com/mattermost/focalboard/server/model"
_ "github.com/mattn/go-sqlite3" // sqlite driver
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)

View File

@ -12,7 +12,6 @@ import (
sq "github.com/Masterminds/squirrel"
_ "github.com/lib/pq" // postgres driver
"github.com/mattermost/focalboard/server/model"
_ "github.com/mattn/go-sqlite3" // sqlite driver
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)

View File

@ -0,0 +1,5 @@
//go:build sqlite3
package sqlstore
import _ "github.com/mattn/go-sqlite3" // sqlite driver