zcashd/test/lint
Jack Grigg b2b178bd21 lint: Add check that every Cargo patch has a matching replacement
We canonicalize git URLs when linting Cargo patches, because Cargo
treats `path/to/repo` and `path/to/repo.git` identically (and similarly
it strips a trailing slash), so we allow `.cargo/config.offline` and
`Cargo.toml` to mismatch in this way to minimise lints.
2022-04-07 02:14:52 +00:00
..
README.md doc: improve subtree check instructions 2020-11-09 23:06:21 +00:00
commit-script-check.sh Use HTTPS in script license headers 2020-10-26 18:04:19 +00:00
git-subtree-check.sh Update links 2020-12-13 11:24:44 +02:00
lint-all.sh Update links 2020-12-13 11:24:44 +02:00
lint-cargo-patches.sh lint: Add check that every Cargo patch has a matching replacement 2022-04-07 02:14:52 +00:00
lint-include-guards.sh Fix an incorrect preprocessor symbol. 2022-03-29 20:18:16 +01:00
lint-includes.sh Do not strip quotes when verifying mnemonic seed. 2021-11-07 10:16:22 -07:00
lint-locale-dependence.sh lint: Allow stoi in src/rpc/blockchain.cpp 2020-11-09 20:03:22 +00:00
lint-python-utf8-encoding.sh Update links 2020-12-13 11:24:44 +02:00
lint-shebang.sh lints: Add a missing copyright header 2020-11-09 17:17:08 +00:00
lint-shell-locale.sh Update links 2020-12-13 11:24:44 +02:00
lint-shell.sh Update links 2020-12-13 11:24:44 +02:00
lint-whitespace.sh Update links 2020-12-13 11:24:44 +02: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.