go:mınor ver. bump

This commit is contained in:
blue-devil
2020-03-27 23:11:04 +03:00
parent 490559d4d1
commit a8733a2198
3 changed files with 16 additions and 6 deletions
+3 -3
View File
@@ -15,12 +15,12 @@ def build():
shelltools.export("go_platform","linux-amd64")
shelltools.export("go_linker","/lib/ld-linux-x86-64.so.2")
shelltools.export("GOROOT", "%s/go-go1.13.8" % get.workDIR()) #0
shelltools.export("GOROOT", "%s/go-go1.14.1" % get.workDIR()) #0
shelltools.export("GOBIN", "$GOROOT/bin") #1
shelltools.export("GOPATH", "%s" % get.workDIR())
shelltools.export("GOROOT_FINAL", "/usr/lib/go")
shelltools.export("GOROOT_BOOTSTRAP", "%s/go-go1.13.8/go-linux-amd64-bootstrap" % get.workDIR()) #2
shelltools.export("GOROOT_BOOTSTRAP", "%s/go-go1.14.1/go-linux-amd64-bootstrap" % get.workDIR()) #2
shelltools.export("GOOS","linux")
shelltools.export("GOARCH","amd64")
@@ -31,7 +31,7 @@ def build():
def install():
shelltools.export("GOROOT_FINAL", "/usr/lib/go")
shelltools.cd("%s/go-go1.13.8" % get.workDIR())
shelltools.cd("%s/go-go1.14.1" % get.workDIR())
pisitools.dodir("/usr/lib/go")
shelltools.system("cp -r api bin doc lib pkg src %s/usr/lib/go" % get.installDIR())