zcashd/test/lint
Hennadii Stepanov 8294e51681 Enable ShellCheck rules
Enabled ShellCheck rules:
  SC1087
  SC2001
  SC2004
  SC2005
  SC2006
  SC2016
  SC2028
  SC2048
  SC2066 (note that IFS already contains only a line feed)
  SC2116
  SC2166
  SC2181
  SC2206
  SC2207
  SC2230
  SC2236

(cherry picked from commit bitcoin/bitcoin@1ac454a384)

Zcash: Applies more of this commit. It was partially backported in
zcash/zcash#4827, and is also partially backported here for the scripts
we actually have.
2022-08-20 03:13:52 +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 shell lints 2022-08-19 22:40:02 +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 Enable ShellCheck rules 2022-08-20 03:13:52 +00: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.