Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate .gitignore and .hgignore in build #3018

Open
Freed-Wu opened this issue Apr 13, 2024 · 0 comments
Open

Generate .gitignore and .hgignore in build #3018

Freed-Wu opened this issue Apr 13, 2024 · 0 comments

Comments

@Freed-Wu
Copy link

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!

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

No branches or pull requests

1 participant