mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 19:36:28 +00:00
Update some installs for newer version of release-gitter
This commit is contained in:
parent
12bc08ea40
commit
f04748dc57
@ -149,10 +149,14 @@ def install_linters(langs: set[Language]):
|
||||
shellcheck=[
|
||||
"--git-url",
|
||||
"https://github.com/koalaman/shellcheck",
|
||||
"--extract-files", "shellcheck-{version}/shellcheck",
|
||||
"--exec", "mv /tmp/shellcheck-{version}/shellcheck ~/bin/ && chmod +x ~/bin/shellcheck",
|
||||
"--extract-files",
|
||||
"shellcheck-{version}/shellcheck",
|
||||
"--exec",
|
||||
os.path.expanduser(
|
||||
"mv shellcheck-{version}/shellcheck ~/bin/ && chmod +x ~/bin/shellcheck"
|
||||
),
|
||||
"--use-temp-dir",
|
||||
"shellcheck-{version}.{system}.{arch}.tar.xz",
|
||||
"/tmp/",
|
||||
]
|
||||
)
|
||||
|
||||
@ -175,13 +179,14 @@ def install_linters(langs: set[Language]):
|
||||
"release-gitter",
|
||||
"--git-url",
|
||||
"https://github.com/golangci/golangci-lint",
|
||||
"--extract-all",
|
||||
"--extract-files",
|
||||
"golangci-lint-{version}-{system}-{arch}/golangci-lint",
|
||||
"--exec",
|
||||
os.path.expanduser(
|
||||
"mv /tmp/$(echo {}|sed s/\\.tar\\.gz$//)/golangci-lint ~/bin/"
|
||||
"mv golangci-lint-{version}-{system}-{arch}/golangci-lint ~/bin/ && chmod +x ~/bin/golangci-lint"
|
||||
),
|
||||
"--use-temp-dir",
|
||||
"golangci-lint-{version}-{system}-{arch}.tar.gz",
|
||||
"/tmp/",
|
||||
)
|
||||
if Language.LUA in langs:
|
||||
if not maybe_run("lua", "-e", "require('lfs')"):
|
||||
|
Loading…
Reference in New Issue
Block a user