git-hooks.nix icon indicating copy to clipboard operation
git-hooks.nix copied to clipboard

Run shellcheck on installation hook tests

Open nicknovitski opened this issue 11 months ago • 2 comments

Because of the way the tests are written, this also runs shellcheck on each test derivation's shellHook, which gets a lot of coverage of the shellHooks in general.

Besides the obvious bash-level fixes, some of the warnings and errors I fixed by moving the logic out into nix, which felt a lot simpler.

nicknovitski avatar Nov 20 '24 05:11 nicknovitski