Skip to content

Commit fb95afc

Browse files
committed
feat(client): add makeself installer
1 parent a0bcbc8 commit fb95afc

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ builder/rootfs/usr/bin
2626
cache/image/bin/
2727
client/deis
2828
client/deis.exe
29+
client/*.run
30+
client/makeself/
2931
contrib/azure/azure-user-data
3032
contrib/bumpver/bumpver
3133
deisctl/deisctl

client/Makefile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ build:
1717
install:
1818
godep go install -v .
1919

20+
installer: build
21+
@if [ ! -d makeself ]; then git clone -b single-binary https://github.com/deis/makeself.git; fi
22+
PATH=./makeself:$$PATH BINARY=deis makeself.sh --bzip2 --current --nox11 . \
23+
deis-cli-`cat deis-version`-`go env GOOS`-`go env GOARCH`.run \
24+
"Deis CLI" "echo \
25+
&& echo 'deis is in the current directory. Please' \
26+
&& echo 'move deis to a directory in your search PATH.' \
27+
&& echo \
28+
&& echo 'See http://docs.deis.io/ for documentation.' \
29+
&& echo"
30+
2031
setup-root-gotools:
2132
sudo GOPATH=/tmp/tmpGOPATH go get -u -v golang.org/x/tools/cmd/cover
2233
sudo GOPATH=/tmp/tmpGOPATH go get -u -v golang.org/x/tools/cmd/vet

0 commit comments

Comments
 (0)