Age | Commit message (Collapse) | Author | |
---|---|---|---|
2021-01-22 | Meta: Get building on NixOS (#5005) | Jonathan Turner | |
2021-01-12 | Shell: Move to Userland/Shell/ | Andreas Kling | |
2021-01-10 | Meta: Only complain about linter tools if relevant files have changed | Andrew Kaster | |
2020-12-27 | Meta: Update lint-{clang-format,shell-scripts}.sh to take a list of files | Linus Groh | |
This should speed up pre-commit a bit as only files that are staged will be processed, and clang-format and shellcheck are only invoked once, not for every file. When no arguments are given (e.g. on CI), it still uses 'git ls-files'. | |||
2020-12-27 | Meta: Set 'pipefail' option correctly in shell scripts | Linus Groh | |
This needs '-o' to work correctly. Also update the shebang to bash in some scripts as shellcheck was complaining about pipefail not being a POSIX shell thing otherwise. | |||
2020-11-01 | Meta: lint-shell-scripts: Exit if shellcheck is not installed | Brendan Coles | |
2020-10-03 | Everywhere: Fix more typos | Linus Groh | |
2020-07-05 | Meta: Do not run shellcheck on our Shell's scripts | AnotherTest | |
2020-05-29 | Meta: update lint-shell-scripts.sh so that it does not search in Build/ | Emanuele Torre | |
We now use git-ls-files(1) instead of find(1). | |||
2020-05-07 | Meta: We don't need to ignore run-tests in lint-shell-scripts.sh | Emanuele Torre | |
2020-03-25 | Meta: Ignore the LibJS test runner script when linting | Andreas Kling | |
Making this work in the absence of bash is more cumbersome than simply skipping it at the moment. | |||
2020-02-10 | Meta: Integrate Shellcheck into Travis | Shannon Booth | |
lint-shell-scripts searches over the repository looking for shell scripts. On those found, shellcheck is run against them. If any linting fails print those warnings and exit with a non-zero exit code. Run this script automatically in Travis. |