Update build environment
* Add mercurial/hg to bindep * Use latest golang (1.8.x) * Print additional go related environment information Change-Id: I053873945a24ab0f592051423d2e307b3bdf299e
This commit is contained in:
parent
eba7d9f54a
commit
3e8cd7b94e
2
Makefile
2
Makefile
|
@ -65,6 +65,8 @@ env:
|
||||||
@echo "GOROOT: $(GOROOT)"
|
@echo "GOROOT: $(GOROOT)"
|
||||||
@echo "DEST: $(DEST)"
|
@echo "DEST: $(DEST)"
|
||||||
@echo "PKG: $(PKG)"
|
@echo "PKG: $(PKG)"
|
||||||
|
go version
|
||||||
|
go env
|
||||||
|
|
||||||
# Get our dev/test dependencies in place
|
# Get our dev/test dependencies in place
|
||||||
bootstrap:
|
bootstrap:
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
pkg-config
|
pkg-config
|
||||||
build-essential
|
build-essential
|
||||||
|
mercurial
|
||||||
golang-go
|
golang-go
|
||||||
golint
|
golint
|
||||||
make
|
make
|
||||||
|
|
|
@ -48,7 +48,8 @@ case $OS in
|
||||||
if ! which add-apt-repository 1>/dev/null; then
|
if ! which add-apt-repository 1>/dev/null; then
|
||||||
sudo $APT_GET install software-properties-common
|
sudo $APT_GET install software-properties-common
|
||||||
fi
|
fi
|
||||||
sudo add-apt-repository --yes ppa:masterminds/glide && sudo apt-get update
|
sudo add-apt-repository --yes ppa:longsleep/golang-backports
|
||||||
sudo $APT_GET install glide
|
sudo add-apt-repository --yes ppa:masterminds/glide
|
||||||
|
sudo apt-get update && sudo $APT_GET install golang-go glide
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
Loading…
Reference in New Issue