zcashd/test/lint
Wladimir J. van der Laan 49deefbc9d test: Add crc32c exception to various linters and generation scripts
(cherry picked from commit bitcoin/bitcoin@3a037d0067)

Zcash:
- Excludes linters and scripts we don't have.
- Re-adds leveldb to lint-includes.sh because of a false positive.
2022-07-16 11:47:21 +00:00
..
README.md test: Add crc32c to subtree check linter 2022-07-16 12:02:08 +01:00
commit-script-check.sh scripted-diff: Add 2020-2022 copyright headers for files added/modified in 2020 2022-05-11 17:32:39 -06: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 cargo patches linter when no patches are present 2022-05-12 11:19:52 +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 scripted-diff: Add 2020-2022 copyright headers for files added/modified in 2020 2022-05-11 17:32:39 -06: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.