fix MIPS release (#1697)
This commit is contained in:
parent
cc152be1a9
commit
1f79767c5a
@ -25,6 +25,8 @@ builds:
|
||||
goarm:
|
||||
- 6
|
||||
- 7
|
||||
gomips:
|
||||
- hardfloat
|
||||
env:
|
||||
- CGO_ENABLED=0
|
||||
ignore:
|
||||
|
21
Makefile
21
Makefile
@ -17,7 +17,6 @@ clean:
|
||||
rm -f golangci-lint
|
||||
rm -f test/path
|
||||
rm -f tools/Dracula.itermcolors
|
||||
rm -f tools/godownloader
|
||||
rm -f tools/goreleaser
|
||||
rm -f tools/svg-term
|
||||
rm -rf tools/node_modules
|
||||
@ -40,25 +39,14 @@ test_linters:
|
||||
|
||||
# Maintenance
|
||||
|
||||
generate: install.sh assets/github-action-config.json
|
||||
fast_generate: assets/github-action-config.json
|
||||
.PHONY: generate fast_generate
|
||||
|
||||
maintainer-clean: clean
|
||||
rm -rf install.sh
|
||||
.PHONY: maintainer-clean
|
||||
.PHONY: fast_generate
|
||||
|
||||
fast_check_generated:
|
||||
$(MAKE) --always-make fast_generate
|
||||
git checkout -- go.mod go.sum # can differ between go1.12 and go1.13
|
||||
git diff --exit-code # check no changes
|
||||
|
||||
check_generated:
|
||||
$(MAKE) --always-make generate
|
||||
git checkout -- go.mod go.sum # can differ between go1.12 and go1.13
|
||||
git diff --exit-code # check no changes
|
||||
.PHONY: check_generated
|
||||
|
||||
release: .goreleaser.yml tools/goreleaser
|
||||
./tools/goreleaser
|
||||
.PHONY: release
|
||||
@ -72,10 +60,6 @@ snapshot: .goreleaser.yml tools/goreleaser
|
||||
golangci-lint: FORCE
|
||||
go build -o $@ ./cmd/golangci-lint
|
||||
|
||||
tools/godownloader: export GOFLAGS = -mod=readonly
|
||||
tools/godownloader: tools/go.mod tools/go.sum
|
||||
cd tools && go build github.com/goreleaser/godownloader
|
||||
|
||||
tools/goreleaser: export GOFLAGS = -mod=readonly
|
||||
tools/goreleaser: tools/go.mod tools/go.sum
|
||||
cd tools && go build github.com/goreleaser/goreleaser
|
||||
@ -93,9 +77,6 @@ tools/Dracula.itermcolors:
|
||||
assets/demo.svg: tools/svg-term tools/Dracula.itermcolors
|
||||
./tools/svg-term --cast=183662 --out assets/demo.svg --window --width 110 --height 30 --from 2000 --to 20000 --profile ./tools/Dracula.itermcolors --term iterm2
|
||||
|
||||
install.sh: .goreleaser.yml tools/godownloader
|
||||
./tools/godownloader .goreleaser.yml | sed '/DO NOT EDIT/s/ on [0-9TZ:-]*//' > $@
|
||||
|
||||
assets/github-action-config.json: FORCE golangci-lint
|
||||
go run ./scripts/gen_github_action_config/main.go $@
|
||||
|
||||
|
11
tools/go.mod
11
tools/go.mod
@ -1,11 +1,8 @@
|
||||
module github.com/golangci/golangci-lint/tools
|
||||
|
||||
go 1.12
|
||||
go 1.13
|
||||
|
||||
require (
|
||||
github.com/goreleaser/godownloader v0.1.0
|
||||
github.com/goreleaser/goreleaser v0.136.0
|
||||
)
|
||||
require github.com/goreleaser/goreleaser v0.155.0
|
||||
|
||||
// Fix invalid pseudo-version: revision is longer than canonical (6fd6a9bfe14e)
|
||||
replace github.com/go-macaron/cors => github.com/go-macaron/cors v0.0.0-20190418220122-6fd6a9bfe14e
|
||||
// https://github.com/mattn/go-shellwords/pull/39
|
||||
replace github.com/mattn/go-shellwords => github.com/caarlos0/go-shellwords v1.0.11
|
||||
|
1113
tools/go.sum
generated
1113
tools/go.sum
generated
File diff suppressed because it is too large
Load Diff
@ -9,6 +9,5 @@ package tools
|
||||
//
|
||||
// nolint
|
||||
import (
|
||||
_ "github.com/goreleaser/godownloader"
|
||||
_ "github.com/goreleaser/goreleaser"
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user