CI uses a number of parameters when running `cargo clippy`. Repeating
the same command manually requires some copy/pasting. It is easier when
there is a common script that can be run by everyone.
* Add --canary option to cargo-install-all for building with separate debug symbols
* lint
* Remove debug-assertions
* switch flag from --canary to --release-with-debug
These options are now disallowed on the command line for
solana-validator and solana-ledger-tool, which effectively means no more
snapshots will be created with this types in normal usecases. However,
support for reading the deprecated types is still in place.
* Add dev-utils feature for inter-crate test code safe reuse
* Sanitize mode
* Fix typo...
* Use case/esac intead of if
* port to `cargo tree` + `jq`
* Fix typo...
* Properly abort on errors
* Add trailing commas
* Select only normal dependencies
* Use more concise comma-separated code
* Skip if taint packages are empty
* Fold long lines and format code a bit
* Fix shellcheck
* Improve jq query and remove uneeded marker feature
* Use folding heredoc giving up proper indenting..
* Use jq's alternative operator (//)
* Rename to dev-context-only-utils
* Fix typo...
---------
Co-authored-by: Trent Nelson <trent@solana.com>
* ci: silence ci test output while recording in full
* shellcheck
* Adjust --color handling place
* Dump to stderr...
* Reduce too spammy solana_metrics logs
* Clean up
* Tweak
* Stash actual command's exit_code, not echo's
* introduce workspace.package
* introduce workspace.dependencies
* read version from root cargo.toml
* pass check when version = { workspace = true }
* don't bump version when version = { workspace = true }
* including workspace Cargo.toml when bump version
* programs/sbf use workspace inheritance
* fix increasing cargo version ignore program/sbf/Cargo.toml
* introduce workspace.package
* introduce workspace.dependencies
* read version from root cargo.toml
* pass check when version = { workspace = true }
* don't bump version when version = { workspace = true }
* including workspace Cargo.toml when bump version
* programs/sbf use workspace inheritance
* fix increasing cargo version ignore program/sbf/Cargo.toml
* Remove markdown file update from version increment-cargo-version.sh
* Update doc version numbers that were incorrectly advanced by increment-cargo-version.sh
* Revert incorrect doc change based on review feedback
* Use token-2022 dependency in parse_token and add tests for new variants
* Remove test hack
* Bump spl-token-2022 and use new AuthorityType::CloseMint
* Add zk-token-sdk to patch-crates.sh