summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDave Henderson <dhenderson@gmail.com>2018-07-17 00:51:55 -0400
committerDave Henderson <dhenderson@gmail.com>2018-07-17 00:51:55 -0400
commitfc09081cc2dc7e743ba8a9c060f81f3b801bcb2b (patch)
tree9700b6a9dfa1ac6a9ae5156d6e950ce5560b5957 /Makefile
parent9c1805e66e6ffaf34b8253ed474ac55b0fe47adf (diff)
Setting up code coverage with codeclimate
Signed-off-by: Dave Henderson <dhenderson@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a6c8b074..ce445dd8 100644
--- a/Makefile
+++ b/Makefile
@@ -80,7 +80,7 @@ $(PREFIX)/bin/$(PKG_NAME)$(call extension,$(GOOS)): $(PREFIX)/bin/$(PKG_NAME)_$(
build: $(PREFIX)/bin/$(PKG_NAME)$(call extension,$(GOOS))
test:
- $(GO) test -v -race ./...
+ $(GO) test -v -race -coverprofile=c.out ./...
integration: ./bin/gomplate
$(GO) test -v -tags=integration \