aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2022-02-16 23:42:35 +0700
committerShulhan <ms@kilabit.info>2022-02-16 23:42:35 +0700
commitce2af85f4c767deebfaf170fe0b91348d279ceb8 (patch)
treed1b9d878ea644b8c949f514bab742c4d2fb37a55
parentceb698fd584a2ecb92e6ac6b5cd1792e726934e6 (diff)
downloadciigo-ce2af85f4c767deebfaf170fe0b91348d279ceb8.tar.xz
Makefile: set CGO_ENABLED to 1 when running test
Never assume that the user set CGO_ENABLED to 1 by default.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 2d1cf2f..7702413 100644
--- a/Makefile
+++ b/Makefile
@@ -12,7 +12,7 @@ lint:
test:
go run ./internal/cmd/goembed
- go test -v -race ./...
+ CGO_ENABLED=1 go test -v -race ./...
install:
go install ./cmd/ciigo