bolt/Makefile

19 lines
408 B
Makefile
Raw Normal View History

BRANCH=`git rev-parse --abbrev-ref HEAD`
COMMIT=`git rev-parse --short HEAD`
GOLDFLAGS="-X main.branch $(BRANCH) -X main.commit $(COMMIT)"
2014-01-12 05:51:01 +00:00
default: build
race:
@go test -v -race -test.run="TestSimulate_(100op|1000op)"
2014-03-04 20:02:17 +00:00
2014-03-24 13:38:27 +00:00
# go get github.com/kisielk/errcheck
errcheck:
2022-02-18 16:07:03 +00:00
@errcheck -ignorepkg=bytes -ignore=os:Remove github.com/hak5/bolt
2014-03-24 13:38:27 +00:00
test:
@go test -v -cover .
@go test -v ./cmd/bolt
2014-01-12 05:51:01 +00:00
.PHONY: fmt test