Skip to content

dev: disable vendoring #1031

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
20 changes: 5 additions & 15 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

# enable module support across all go commands.
export GO111MODULE = on
# opt-in to vendor deps across all go commands.
export GOFLAGS = -mod=vendor
# enable consistent Go 1.12/1.13 GOPROXY behavior.
export GOPROXY = https://proxy.golang.org

Expand Down Expand Up @@ -46,25 +44,25 @@ test_linters:

# Maintenance

generate: README.md docs/demo.svg install.sh vendor
generate: README.md docs/demo.svg install.sh
.PHONY: generate

fast_generate: README.md vendor
fast_generate: README.md
.PHONY: fast_generate

maintainer-clean: clean
rm -rf docs/demo.svg README.md install.sh vendor
rm -rf docs/demo.svg README.md install.sh
.PHONY: maintainer-clean

check_generated:
$(MAKE) --always-make generate
git checkout -- vendor/modules.txt go.mod go.sum # can differ between go1.12 and go1.13
git checkout -- go.mod go.sum # can differ between go1.12 and go1.13
git diff --exit-code # check no changes
.PHONY: check_generated

fast_check_generated:
$(MAKE) --always-make fast_generate
git checkout -- vendor/modules.txt go.mod go.sum # can differ between go1.12 and go1.13
git checkout -- go.mod go.sum # can differ between go1.12 and go1.13
git diff --exit-code # check no changes
.PHONY: fast_check_generated

Expand Down Expand Up @@ -105,11 +103,3 @@ go.mod: FORCE
go mod tidy
go mod verify
go.sum: go.mod

vendor: go.mod go.sum
go mod vendor

unexport GOFLAGS
vendor_free_build: FORCE
go build -o golangci-lint ./cmd/golangci-lint
.PHONY: vendor_free_build vendor
5 changes: 0 additions & 5 deletions vendor/github.com/BurntSushi/toml/.gitignore

This file was deleted.

15 changes: 0 additions & 15 deletions vendor/github.com/BurntSushi/toml/.travis.yml

This file was deleted.

3 changes: 0 additions & 3 deletions vendor/github.com/BurntSushi/toml/COMPATIBLE

This file was deleted.

21 changes: 0 additions & 21 deletions vendor/github.com/BurntSushi/toml/COPYING

This file was deleted.

19 changes: 0 additions & 19 deletions vendor/github.com/BurntSushi/toml/Makefile

This file was deleted.

218 changes: 0 additions & 218 deletions vendor/github.com/BurntSushi/toml/README.md

This file was deleted.

Loading