zcashd/test/lint
Greg Pfeil 4946316537 Appease ShellCheck
ShellCheck has started failing in CI. My guess is that the ubuntu-latest runner
now uses a `/bin/sh` that is actually Bash.

- excludes checksec.sh, as it’s not our code
- fixes lints in other files
2022-12-06 10:46:43 -07:00
..
README.md test: Add crc32c to subtree check linter 2022-07-16 12:02:08 +01:00
commit-script-check.sh Appease ShellCheck 2022-12-06 10:46:43 -07:00
git-subtree-check.sh scripted-diff: Add 2020-2022 copyright headers for files added/modified in 2020 2022-05-11 17:32:39 -06:00
lint-all.sh scripted-diff: Add 2020-2022 copyright headers for files added/modified in 2020 2022-05-11 17:32:39 -06:00
lint-cargo-patches.sh lint: Fix ShellCheck lints in Zcash scripts 2022-08-20 03:15:12 +00:00
lint-include-guards.sh test: Add crc32c exception to various linters and generation scripts 2022-07-16 11:47:21 +00:00
lint-includes.sh test: Add crc32c exception to various linters and generation scripts 2022-07-16 11:47:21 +00:00
lint-locale-dependence.sh scripted-diff: Move util files to separate directory. 2022-07-01 17:50:09 -06:00
lint-python-utf8-encoding.sh test: Add crc32c exception to various linters and generation scripts 2022-07-16 11:47:21 +00:00
lint-shebang.sh scripted-diff: Add 2020-2022 copyright headers for files added/modified in 2020 2022-05-11 17:32:39 -06:00
lint-shell-locale.sh scripted-diff: Add 2020-2022 copyright headers for files added/modified in 2020 2022-05-11 17:32:39 -06:00
lint-shell.sh Appease ShellCheck 2022-12-06 10:46:43 -07:00
lint-whitespace.sh scripted-diff: Add 2020-2022 copyright headers for files added/modified in 2020 2022-05-11 17:32:39 -06:00

README.md

This folder contains lint scripts.

commit-script-check.sh

Verification of scripted diffs.

git-subtree-check.sh

Run this script from the root of the repository to verify that a subtree matches the contents of the commit it claims to have been updated to.

To use, make sure that you have fetched the upstream repository branch in which the subtree is maintained:

To do so, add the upstream repository as remote:

git remote add --fetch secp256k1 https://github.com/bitcoin-core/secp256k1.git

Usage: git-subtree-check.sh DIR (COMMIT)

COMMIT may be omitted, in which case HEAD is used.

lint-all.sh

Calls other scripts with the lint- prefix.