removed sed command and made gitignore

This commit is contained in:
mfahampshire
2025-07-30 20:08:27 +02:00
parent ccdbf8dffd
commit c0867cbfe3
2 changed files with 2 additions and 11 deletions
+2
View File
@@ -0,0 +1,2 @@
target/
notes.txt
-11
View File
@@ -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/' {} \;
```