aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index ffb4a4d..ebc6afc 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,7 @@ test:
# run all tests, print result to stdout as json
testjson:
- go test -json -cover ./...
+ go test -tags='sqlite_fts5 sqlite_json' -json -cover ./...
# run go vet
vet:
@@ -22,13 +22,13 @@ vetjson:
# generate test coverage profile, print results to stdout
cov:
- go test -coverprofile=coverage.out ./... && \
+ go test -tags='sqlite_fts5 sqlite_json' -coverprofile=coverage.out ./... && \
go tool cover -func=coverage.out
# generate test coverage profile, render results as html, show
# in browser
covhtml:
- go test -coverprofile=coverage.out ./... && \
+ go test -tags='sqlite_fts5 sqlite_json' -coverprofile=coverage.out ./... && \
go tool cover -html=coverage.out -o coverage.html && \
xdg-open ./coverage.html