From 12bc08ea40f863e1e75356083865d652bfb32eab Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 11 Nov 2024 08:58:39 -0800 Subject: [PATCH] Download shellcheck with release-gitter --- install-helpers.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/install-helpers.py b/install-helpers.py index 7828517..f6ef14c 100755 --- a/install-helpers.py +++ b/install-helpers.py @@ -144,6 +144,18 @@ def install_language_servers(langs: set[Language]): def install_linters(langs: set[Language]): + if Language.BASH in langs: + maybe_release_gitter( + shellcheck=[ + "--git-url", + "https://github.com/koalaman/shellcheck", + "--extract-files", "shellcheck-{version}/shellcheck", + "--exec", "mv /tmp/shellcheck-{version}/shellcheck ~/bin/ && chmod +x ~/bin/shellcheck", + "shellcheck-{version}.{system}.{arch}.tar.xz", + "/tmp/", + ] + ) + if Language.PYTHON in langs: maybe_pip_install("mypy") if Language.CSS in langs: