mirror of
https://github.com/ironfox-oss/IronFox.git
synced 2026-09-17 08:52:34 -04:00
fix: update shellcheck/shfmt handling and set-up
Notably: - We now always provide our own copies of both `shellcheck` and `shfmt` (via `get_sources.sh`) - Set-up of the pre-commit hook is now at `lint-hook.sh`, so we can call it directly (and give users a way to set-up the hook directly if necessary) - The `lint` CI stage is now performed on Fedora instead of Alpine (like the rest of the build process), but only the minimal set-up is performed to download and set-up the necessary tools Signed-off-by: celenity <celenity@celenity.dev>
This commit is contained in:
10 files changed
+280
-47
No files matched your search
@@ -3,7 +3,7 @@
|
||||
# IronFox pre-commit hook: lints staged shell scripts with shellcheck + shfmt.
|
||||
#
|
||||
# Enabled by pointing git at this directory (done automatically by
|
||||
# scripts/bootstrap.sh):
|
||||
# scripts/lint-hook.sh):
|
||||
# git config core.hooksPath scripts/git-hooks
|
||||
#
|
||||
# This is a convenience only. It can be bypassed with `git commit --no-verify`,
|
||||
|
||||
Reference in new issue
Block a user