diff options
| author | Ben Johnson <benbjohnson@yahoo.com> | 2014-04-08 12:13:59 -0600 |
|---|---|---|
| committer | Ben Johnson <benbjohnson@yahoo.com> | 2014-04-08 12:13:59 -0600 |
| commit | fef1aad638b5ef512845abd8b910d620027091a6 (patch) | |
| tree | 2a4e868cfc2f803ca8618ef8373a8a8dca8bc17a /Makefile | |
| parent | Merge pull request #120 from snormore/readme_typo (diff) | |
| parent | add get/build targets to Makefile (diff) | |
| download | dedo-fef1aad638b5ef512845abd8b910d620027091a6.tar.gz dedo-fef1aad638b5ef512845abd8b910d620027091a6.tar.xz | |
Merge pull request #121 from snormore/makefile_env
Add get/build targets to Makefile
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -26,7 +26,15 @@ errcheck: fmt: @go fmt ./... +get: + @go get -d ./... + +build: get + @mkdir -p bin + @go build -a -o bin/bolt-`git rev-parse --short HEAD` ./cmd/bolt + test: fmt errcheck + @go get github.com/stretchr/testify/assert @echo "=== TESTS ===" @go test -v -cover -test.run=$(TEST) @echo "" |
