Generate .gitignore and .hgignore in build
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.7k
- Forks
- 1.9k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 5
Description
https://mesonbuild.com/FAQ.html#how-do-i-ignore-the-build-directory-in-my-vcs
How do I ignore the build directory in my VCS?
You don't need to, assuming you use git or mercurial! Meson >=0.57.0 will create a .gitignore and .hgignore file for you, inside each build directory. It glob ignores "*", since all generated files should not be checked into git.
meson setup build
will generate build/.gitignore and build/.hgignore.
Can node-gyp configure do same thing?
TIA!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the node-gyp configure entry point and compare its generated build-directory contents with the Meson behavior described in the issue. Confirm how configure determines the build directory, then make it generate .gitignore and .hgignore containing the requested ignore rule and verify both files after meson setup build-style configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100