Skip to content

Commit

Permalink
Fix installation of packr2
Browse files Browse the repository at this point in the history
For some reason compiling packr2 suddenly broke with errors about envy:
bash: [ENVY]: command not found
and
ENVY] unable to load env file(s) on init: open .env: no such file or directory

I opened gobuffalo/packr#237 to figure out what changed
but until then switching to binary installs.
  • Loading branch information
carolynvs-msft committed Sep 9, 2019
1 parent 05f8c4e commit ee45e3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ generate: packr2
HAS_PACKR2 := $(shell command -v packr2)
packr2:
ifndef HAS_PACKR2
go get -u github.com/gobuffalo/packr/v2/packr2
curl -SLo /tmp/packr.tar.gz https://github.com/gobuffalo/packr/releases/download/v2.6.0/packr_2.6.0_$(CLIENT_PLATFORM)_$(CLIENT_ARCH).tar.gz
cd /tmp && tar -xzf /tmp/packr.tar.gz
install /tmp/packr2 /usr/local/bin/
endif

xbuild-all: xbuild-porter xbuild-mixins
Expand Down

0 comments on commit ee45e3e

Please sign in to comment.