outline-server/third_party/shellcheck
Vinicius Fortuna e0a9ae298e
chore: revamp third-party downloads (#1359)
No more need to depend on curl, wget or shasum!
2023-06-09 15:07:26 -06:00
..
hashes.sha256 Download a pinned version of Shellcheck 2021-02-18 21:52:28 -05:00
README.md Fix lint 2022-03-09 23:10:15 +00:00
run.sh chore: revamp third-party downloads (#1359) 2023-06-09 15:07:26 -06: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 npm run clean in the repository root).