mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 19:37:34 +00:00
Update extract of golangci-lint
This commit is contained in:
parent
56c03f30c5
commit
4c65a9dfaa
@ -129,9 +129,8 @@ function install_linters() {
|
|||||||
maybe_run release-gitter --git-url "https://github.com/golangci/golangci-lint" \
|
maybe_run release-gitter --git-url "https://github.com/golangci/golangci-lint" \
|
||||||
--map-system Windows=windows --map-system Linux=linux --map-system Darwin=darwin \
|
--map-system Windows=windows --map-system Linux=linux --map-system Darwin=darwin \
|
||||||
--map-arch x86_64=amd64 --map-arch armv7l=armv7 --map-arch aarch64=arm64 \
|
--map-arch x86_64=amd64 --map-arch armv7l=armv7 --map-arch aarch64=arm64 \
|
||||||
--extract-files golangci-lint \
|
--extract-all --exec "mv /tmp/\$(echo {}|sed s/\.tar\.gz\$//)/golangci-lint ~/bin/" \
|
||||||
--exec "'chmod +x ~/bin/golangci-lint'" \
|
"golangci-lint-{version}-{system}-{arch}.tar.gz" /tmp/
|
||||||
"golangci-lint-{version}-{system}-{arch}.tar.gz" ~/bin
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Lua
|
# Lua
|
||||||
|
Loading…
Reference in New Issue
Block a user