mirror of
https://github.com/siyuan-note/siyuan.git
synced 2025-02-28 05:32:52 +00:00
🔨 Update goproxy to https://mirrors.aliyun.com/goproxy/
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export GOPROXY=https://goproxy.io
|
||||
export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||
export CGO_ENABLED=1
|
||||
export GOOS=android
|
||||
export GOARCH=amd64
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
export GOPROXY=https://goproxy.io
|
||||
export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||
export CGO_ENABLED=1
|
||||
export GOOS=android
|
||||
export GOARCH=arm64
|
||||
|
||||
@@ -15,7 +15,7 @@ echo 'Building Kernel'
|
||||
cd kernel
|
||||
go version
|
||||
export GO111MODULE=on
|
||||
export GOPROXY=https://goproxy.io
|
||||
export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||
export CGO_ENABLED=1
|
||||
|
||||
echo 'Building Kernel amd64'
|
||||
|
||||
@@ -15,7 +15,7 @@ echo 'Building Kernel'
|
||||
cd kernel
|
||||
go version
|
||||
export GO111MODULE=on
|
||||
export GOPROXY=https://goproxy.io
|
||||
export GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||
export CGO_ENABLED=1
|
||||
|
||||
echo 'Building Kernel amd64'
|
||||
|
||||
@@ -19,7 +19,7 @@ echo 'Building Kernel'
|
||||
@REM the C compiler "gcc" is necessary https://sourceforge.net/projects/mingw-w64/files/mingw-w64/
|
||||
go version
|
||||
set GO111MODULE=on
|
||||
set GOPROXY=https://goproxy.io
|
||||
set GOPROXY=https://mirrors.aliyun.com/goproxy/
|
||||
set CGO_ENABLED=1
|
||||
|
||||
cd kernel
|
||||
|
||||
Reference in New Issue
Block a user