diff options
author | Paul Duncan <pabs@pablotron.org> | 2022-02-04 17:42:22 -0500 |
---|---|---|
committer | Paul Duncan <pabs@pablotron.org> | 2022-02-04 17:42:22 -0500 |
commit | 0f049721c6ab5b12d9425f908d1ff8c6c71a82cf (patch) | |
tree | 4ad5a0d7b8dcd8daf1d6307a58620b76f5c6d303 | |
parent | 7182080ff46fdc0e67c1ecaf877f97cb44969482 (diff) | |
download | cvez-0f049721c6ab5b12d9425f908d1ff8c6c71a82cf.tar.bz2 cvez-0f049721c6ab5b12d9425f908d1ff8c6c71a82cf.zip |
add go-sqlite3 and sqlite_fts5 to build tags
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | go.mod | 1 | ||||
-rw-r--r-- | go.sum | 2 |
3 files changed, 5 insertions, 2 deletions
@@ -2,11 +2,11 @@ # build binary all: - go build -ldflags='-s -w' + go build -tags='sqlite_fts5' -ldflags='-s -w' # run all tests test: - go test -cover ./... + go test -tags='sqlite_fts5' -cover ./... # run all tests, print result to stdout as json testjson: @@ -3,6 +3,7 @@ module github.com/pablotron/cvez go 1.18 require ( + github.com/mattn/go-sqlite3 v1.14.11 // indirect golang.org/x/mod v0.5.1 // indirect golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 // indirect golang.org/x/tools v0.1.9 // indirect @@ -1,3 +1,5 @@ +github.com/mattn/go-sqlite3 v1.14.11 h1:gt+cp9c0XGqe9S/wAHTL3n/7MqY+siPWgWJgqdsFrzQ= +github.com/mattn/go-sqlite3 v1.14.11/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= golang.org/x/mod v0.5.1 h1:OJxoQ/rynoF0dcCdI7cLPktw/hR2cueqYfjm43oqK38= golang.org/x/mod v0.5.1/go.mod h1:5OXOZSfqPIIbmVBIIKWRFfZjPR0E5r58TLhUjH0a2Ro= golang.org/x/sys v0.0.0-20211019181941-9d821ace8654 h1:id054HUawV2/6IGm2IV8KZQjqtwAOo2CYlOToYqa0d0= |