Skip to content

Commit

Permalink
Merge pull request #217 from EliahKagan/filter
Browse files Browse the repository at this point in the history
Also `grep -v` out `.cargo_vcs_info.json` in `cargo-zng`
  • Loading branch information
Byron authored Sep 7, 2024
2 parents d39c1c5 + c649e45 commit b264657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-zng
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ tempdir="$(mktemp -d)"
trap 'rm -rf "$tempdir"' 0 INT
cargo package -l --allow-dirty |
tr '\\' '/' |
grep -v '^Cargo\.toml\.orig$' |
grep -vxF -e Cargo.toml.orig -e .cargo_vcs_info.json |
tar --files-from=- -cf - |
tar -C "$tempdir" -xf -
cp Cargo-zng.toml "$tempdir/Cargo.toml"
Expand Down

0 comments on commit b264657

Please sign in to comment.