aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7c25a34..efa0d0a 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,6 @@
GOLINT = go run github.com/golang/lint/golint
STATICCHECK = go run honnef.co/go/tools/cmd/staticcheck
+GOBINDATA = go run github.com/go-bindata/go-bindata/go-bindata
.PHONY: all
all: test
@@ -8,6 +9,12 @@ all: test
build:
go build
+.PHONY: generate
+generate: bindata.go
+
+bindata.go: templates/*
+ $(GOBINDATA) templates
+
.PHONY: install
install:
go install .