outline-server/third_party/shellcheck
Ben Schwartz 71ec965760 Fix shellcheck installation on macOS
The shellcheck download verification step was relying on `sha256sum`,
which is not present in the macOS default install.
2021-02-24 14:44:22 -05:00
..
hashes.sha256 Download a pinned version of Shellcheck 2021-02-18 21:52:28 -05:00
README.md Download a pinned version of Shellcheck 2021-02-18 21:52:28 -05:00
run.sh Fix shellcheck installation on macOS 2021-02-24 14:44:22 -05:00

Outline Shellcheck Wrapper

This directory is used to lint our scripts using Shellcheck. To ensure consistency across developer systems, the included script

  • Attempts to identify the developer's OS (Linux, macOS, or Windows)
  • Downloads a pinned version of Shellcheck into ./download
  • Checks the archive hash
  • Extracts the executable
  • Runs the executable

The executable is cached on the developer's system after the first download. To clear the cache, run rm download (or yarn clean in the repository root).