diff --git a/cargo-version-scanner/.gitignore b/cargo-version-scanner/.gitignore new file mode 100644 index 0000000000..47a378e440 --- /dev/null +++ b/cargo-version-scanner/.gitignore @@ -0,0 +1,2 @@ +target/ +notes.txt diff --git a/cargo-version-scanner/README.md b/cargo-version-scanner/README.md index bcfd32d3bb..4c1538f5ff 100644 --- a/cargo-version-scanner/README.md +++ b/cargo-version-scanner/README.md @@ -16,14 +16,3 @@ Simple tool to parse + check all versions of crates in the monorepo. Optionally # Logs the verbose table @ the end sorted by version, instead of alphabeticly ❯ cargo run -- -v --sort-by-version ``` - -Gross `sed` command for changing everything to workspace -```sh -# Replace version = "x.y.z" with version.workspace = true -find . -name "Cargo.toml" \ - -not -path "./nym-wallet/*" \ - -not -path "./contracts/*" \ - -not -path "./target/*" \ - -not -name "./Cargo.toml" \ - -exec sed -i 's/^version = ".*"/version.workspace = true/' {} \; -```