aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGravatar Luciano Nooijen <luciano@bytecode.nl> 2021-09-11 00:57:07 +0200
committerGravatar GitHub <noreply@github.com> 2021-09-10 15:57:07 -0700
commitdd62ebd406a23184ec072d38894a5a3aac141b0d (patch)
tree7a0de51f9c0439b20a837410ae054ed0c2da34af /Makefile
parent68f125ff5e3042610be114899531d73137726027 (diff)
downloadsally-dd62ebd406a23184ec072d38894a5a3aac141b0d.tar.gz
sally-dd62ebd406a23184ec072d38894a5a3aac141b0d.tar.zst
sally-dd62ebd406a23184ec072d38894a5a3aac141b0d.zip
Use go embed for templates (#50)
Go 1.16 includes a `//go:embed` directive that obviates the need for bindata. Use `//go:embed` instead of bindata for templates used in sally. Signed-off-by: Luciano Nooijen <luciano@bytecode.nl> Co-authored-by: Abhinav Gupta <abg@uber.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 7264206..1fead78 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,5 @@
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
@@ -12,9 +11,6 @@ build:
.PHONY: generate
generate: bindata.go
-bindata.go: templates/*
- $(GOBINDATA) templates
-
.PHONY: install
install:
go install .