outline-server/third_party/shellcheck
2021-02-19 13:57:53 -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 DOWNLOAD -> DOWNLOAD_DIR 2021-02-19 13:57:53 -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).