Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
slapos
Commits
3e910d56
Commit
3e910d56
authored
Jun 14, 2022
by
Boxiang Sun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable goproxy.cn again
parent
cfc2bdd2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
component/golang/buildout.cfg
component/golang/buildout.cfg
+3
-3
No files found.
component/golang/buildout.cfg
View file @
3e910d56
...
...
@@ -191,7 +191,7 @@ command = bash -c ". ${gowork:env.sh}
# external module, e.g. golang.org/x/tools/gopls@v0.4.3
*@*)
echo GOMOD \$x
GO111MODULE=o
ff
go install ${gowork:buildflags} -v \$x
GO111MODULE=o
n GOPROXY=https://goproxy.cn,direct
go install ${gowork:buildflags} -v \$x
;;
# locally-cloned module source, e.g. <module-src-location>:./...
...
...
@@ -199,13 +199,13 @@ command = bash -c ". ${gowork:env.sh}
echo GOMODSRC \$x
dir=\"\$${x%%:*}\"
arg=\"\$${x#*:}\"
(cd \$dir && GO111MODULE=o
ff
go install ${gowork:buildflags} -v \$arg)
(cd \$dir && GO111MODULE=o
n GOPROXY=https://goproxy.cn,direct
go install ${gowork:buildflags} -v \$arg)
;;
# non-module
*)
echo GOPKG \$x
GO111MODULE=o
ff
go install ${gowork:buildflags} -v \$x
GO111MODULE=o
n GOPROXY=https://goproxy.cn,direct
go install ${gowork:buildflags} -v \$x
;;
esac
done
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment