zcash/test/lint
Jack Grigg 999f7b3418 CI: Add a lint that checks for headers missing from makefiles
The headers do not need to be listed in the makefiles for local builds
to work, but `make dist` uses the lists to decide what to include in its
tarball, and Gitian builds from the tarball.

Part of zcash/zcash#5308.
2023-06-16 23:40:42 +00: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 Automatically migrate old coins database to account for complete subtrees for Sapling and Orchard 2023-06-06 16:04:32 -06:00
lint-locale-dependence.sh scripted-diff: Move util files to separate directory. 2022-07-01 17:50:09 -06:00
lint-make-dist.sh CI: Add a lint that checks for headers missing from makefiles 2023-06-16 23:40:42 +00: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.