Skip to content
Permalink
Browse files

fix build

  • Loading branch information...
mlapshin committed Dec 25, 2018
1 parent 9b4acdb commit eb286f42a1f327d749a8c758579d3b1e9c44f187
Showing with 63 additions and 5 deletions.
  1. +57 −3 Gopkg.lock
  2. +1 −1 Gopkg.toml
  3. +5 −1 Makefile

Some generated files are not rendered by default. Learn more.

@@ -1,6 +1,6 @@
[[constraint]]
name = "github.com/gobuffalo/packr"
version = "1.13.3"
version = "1.21.9"

[[constraint]]
name = "github.com/jackc/pgx"
@@ -18,6 +18,8 @@ all: vendor a_main-packr.go lint fmt | $(BASE)
-o bin/$(PACKAGE)$(BINSUFFIX) *.go

a_main-packr.go: $(GOPATH)/bin/packr
rm -rfv $(GOPATH)/src/golang.org/x/tools/go/loader/testdata; \
rm -rfv $(GOPATH)/src/golang.org/x/tools/cmd/fiximports/testdata; \
$(GOPATH)/bin/packr -z

$(BASE):
@@ -36,12 +38,14 @@ vendor: Gopkg.lock | $(BASE)

# # install packr with go get because dep doesn't build binaries for us
$(GOPATH)/bin/packr:
$(GO) get -u github.com/gobuffalo/packr/...
echo "here" && $(GO) get -u github.com/gobuffalo/packr/...

# Tools

.PHONY: packr
packr: $(GOPATH)/bin/packr
rm -rfv $(GOPATH)/src/golang.org/x/tools/go/loader/testdata; \
rm -rfv $(GOPATH)/src/golang.org/x/tools/cmd/fiximports/testdata; \
$(GOPATH)/bin/packr -z

.PHONY: lint

0 comments on commit eb286f4

Please sign in to comment.
You can’t perform that action at this time.