mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-11-17 19:16: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=[
|
shellcheck=[
|
||||||
"--git-url",
|
"--git-url",
|
||||||
"https://github.com/koalaman/shellcheck",
|
"https://github.com/koalaman/shellcheck",
|
||||||
"--extract-files", "shellcheck-{version}/shellcheck",
|
"--extract-files",
|
||||||
"--exec", "mv /tmp/shellcheck-{version}/shellcheck ~/bin/ && chmod +x ~/bin/shellcheck",
|
"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",
|
"shellcheck-{version}.{system}.{arch}.tar.xz",
|
||||||
"/tmp/",
|
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -175,13 +179,14 @@ def install_linters(langs: set[Language]):
|
|||||||
"release-gitter",
|
"release-gitter",
|
||||||
"--git-url",
|
"--git-url",
|
||||||
"https://github.com/golangci/golangci-lint",
|
"https://github.com/golangci/golangci-lint",
|
||||||
"--extract-all",
|
"--extract-files",
|
||||||
|
"golangci-lint-{version}-{system}-{arch}/golangci-lint",
|
||||||
"--exec",
|
"--exec",
|
||||||
os.path.expanduser(
|
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",
|
"golangci-lint-{version}-{system}-{arch}.tar.gz",
|
||||||
"/tmp/",
|
|
||||||
)
|
)
|
||||||
if Language.LUA in langs:
|
if Language.LUA in langs:
|
||||||
if not maybe_run("lua", "-e", "require('lfs')"):
|
if not maybe_run("lua", "-e", "require('lfs')"):
|
||||||
|
Loading…
Reference in New Issue
Block a user