Skip to content

Bundle ShellCheck executables for most platforms #663

Open
@skovhus

Description

@skovhus

The vscode extension for ShellCheck bundles pre-compiled binaries for ShellCheck. This is a great feature that could be integrated into the bash-language-server – it would give a much better developer experience for all the users that doesn't have ShellCheck installed (or doesn't know about ShellCheck).

This would work for darwin arm64/x64, linux arm/arm64/x64 and win32 ia32/x64.

Implementation

ShellCheck provides binary distributions. https://github.com/vscode-shellcheck/shellcheck-binaries can be used to enabling using tools such as bindl. I quickly tried exposing those in an npm package (proof of concept: npm install shellcheck-binaries) which gives a footprint of 152 MB (note that bash-language-server is currently 5 MB). It is a big increase for the vscode extension and especially the bash-language-server.

As a first step we could simply do this opt in for now – as an optional dependency. And include the dependency for vscode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions