Skip to content

Add --no-gitignore Flag#1590

Merged
guybedford merged 3 commits into
wasm-bindgen:masterfrom
NellowTCS:skip-gitignore
Jun 12, 2026
Merged

Add --no-gitignore Flag#1590
guybedford merged 3 commits into
wasm-bindgen:masterfrom
NellowTCS:skip-gitignore

Conversation

@NellowTCS

@NellowTCS NellowTCS commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

This closes or supersedes these issues and PRs:
Closes: #728, #909, #984, #999
Supersedes: #985, #1131, #1408

This PR adds a --no-gitignore flag (named that rather than --skip-gitignore for consistency) to help fix the above issues!

After some CI failures, 2 changes were made to make them more robust when running:

  • Made tmp dir unique with PID suffix: Changed from .".{dirname}" to .".{dirname}-pid{PID}"

  • Added --target-dir: Pass --target-dir tmp/build to cargo install

  • You have the latest version of rustfmt installed

  • You ran cargo fmt on the code base before submitting

  • You reference which issue is being closed in the PR text.

@NellowTCS NellowTCS mentioned this pull request Jun 8, 2026
3 tasks
@NellowTCS NellowTCS marked this pull request as draft June 8, 2026 22:13
@NellowTCS NellowTCS marked this pull request as ready for review June 8, 2026 22:19
@NellowTCS

Copy link
Copy Markdown
Contributor Author

Ready for review!

@guybedford

Copy link
Copy Markdown
Contributor

Thanks for following up on this, it may be a couple of weeks yet for the next release when this goes out.

@guybedford guybedford merged commit 875b8c0 into wasm-bindgen:master Jun 12, 2026
4 checks passed
@NellowTCS NellowTCS deleted the skip-gitignore branch June 12, 2026 18:28
@NellowTCS

Copy link
Copy Markdown
Contributor Author

Of course!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow skipping .gitignore generation

2 participants