Improve makefile to enable goproxy when go get tools. #98
No reviewers
Labels
No Label
kind/breaking
kind/bug
kind/build
kind/dependency
kind/deployment
kind/docs
kind
enhancement
kind
feature
kind/proposal
kind
question
kind
refactor
kind/security
kind/testing
kind/translation
priority/critical
priority/high
priority/low
priority/medium
reviewed/duplicate
reviewed/invalid
reviewed/wontfix
skip-changelog
status/blocked
status/has-backport
status/has-pull
status/needs-backport
status/needs-feedback
status/needs-reviews
status/wip
upstream/gitea
upstream/sdk
No Milestone
No Assignees
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: gitea/tea#98
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "lunny/tea:lunny/goproxy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
To speed up the download dependent packages and avoid network problem from China to golang.org, this PR moved all tools download via go mod.
The
cd /tmp
may fail on Windows systems. It works on mine, but I think Git Bash is responsible for intercepting and "correcting" the path in my case.@ -74,3 +74,3 @@
lint:
@hash revive > /dev/null 2>&1; if [ $$? -ne 0 ]; then \
$(GO) get -u github.com/mgechev/revive; \
cd /tmp && $(GO) get -u github.com/mgechev/revive; \
What's the
cd /tmp
for? To prevent writinggo.mod
?@silverwind yes.