aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--go.mod1
-rw-r--r--go.sum2
3 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index effbbbc..ab8c41f 100644
--- a/Makefile
+++ b/Makefile
@@ -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:
diff --git a/go.mod b/go.mod
index 8f6363c..0864e5c 100644
--- a/go.mod
+++ b/go.mod
@@ -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
diff --git a/go.sum b/go.sum
index 598fd54..a948cfc 100644
--- a/go.sum
+++ b/go.sum
@@ -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=