Skip to content

Commit fb173c8

Browse files
committed
fix(.gitignore): un-ignore generated/mod.rs
The root `generated/` pattern matched guest-api/src/generated/mod.rs and host-api/src/generated/mod.rs, but those files are committed stub modules referenced from each crate's lib.rs. The tracked-yet-gitignored state broke release-plz's cargo invocations ("the working directory has uncommitted changes"). Switch to `**/generated/*` + `!**/generated/mod.rs` so the bulk of prpc-build output stays ignored while committed mod.rs files are recognized as clean.
1 parent 0b60ff7 commit fb173c8

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
/build-config.sh
44
/build/*
55
!/build/shared/
6-
generated/
6+
**/generated/*
7+
!**/generated/mod.rs
78
node_modules/
89
/.cargo
910
.venv

0 commit comments

Comments
 (0)