mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
go: update to 1.7.3
This commit is contained in:
parent
fdd3d60cd5
commit
cfba5c63a3
@ -1,5 +1,5 @@
|
|||||||
pkgname=('go' 'go-tools')
|
pkgname=('go' 'go-tools')
|
||||||
pkgver=1.7.1
|
pkgver=1.7.3
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url='http://golang.org/'
|
url='http://golang.org/'
|
||||||
@ -55,7 +55,7 @@ build() {
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Distribution tools
|
# Distribution tools
|
||||||
for tool in benchcmp bundle callgraph digraph eg fiximports html2article oracle present ssadump stress stringer ; do
|
for tool in benchcmp bundle callgraph digraph eg fiximports html2article present ssadump stress stringer ; do
|
||||||
$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
|
$GOROOT/bin/go get -d golang.org/x/tools/cmd/$tool
|
||||||
$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool golang.org/x/tools/cmd/$tool
|
$GOROOT/bin/go build -v -x -o $GOPATH/pkg/tool/${GOOS}_$GOARCH/$tool golang.org/x/tools/cmd/$tool
|
||||||
done
|
done
|
||||||
@ -76,7 +76,7 @@ check() {
|
|||||||
|
|
||||||
# bundle does not compile with 1.6
|
# bundle does not compile with 1.6
|
||||||
for tool in goimports gomvpkg gorename gotype \
|
for tool in goimports gomvpkg gorename gotype \
|
||||||
benchcmp bundle callgraph digraph eg fiximports guru html2article oracle present ssadump stress stringer; do
|
benchcmp bundle callgraph digraph eg fiximports guru html2article present ssadump stress stringer; do
|
||||||
GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
|
GOPATH="$srcdir" $GOROOT/bin/go test -v -x $_gourl/$tool
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user