You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile 410B

123456789101112131415161718
  1. BRANCH=`git rev-parse --abbrev-ref HEAD`
  2. COMMIT=`git rev-parse --short HEAD`
  3. GOLDFLAGS="-X main.branch $(BRANCH) -X main.commit $(COMMIT)"
  4. default: build
  5. race:
  6. @go test -v -race -test.run="TestSimulate_(100op|1000op)"
  7. # go get github.com/kisielk/errcheck
  8. errcheck:
  9. @errcheck -ignorepkg=bytes -ignore=os:Remove github.com/boltdb/bolt
  10. test:
  11. @go test -v -cover .
  12. @go test -v ./cmd/bolt
  13. .PHONY: fmt test