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

Option to not generate/commit Manifest.toml in test/ #397

Open
sloede opened this issue May 1, 2023 · 5 comments
Open

Option to not generate/commit Manifest.toml in test/ #397

sloede opened this issue May 1, 2023 · 5 comments

Comments

@sloede
Copy link

sloede commented May 1, 2023

Is there a possibility to not generate and/or commit the Manifest.toml for the test/ folder? For proper packages, this is usually neither wanted nor needed. Right now, I always have to git rm test/Manifest.toml after generating a package.

@oxinabox
Copy link
Collaborator

oxinabox commented May 8, 2023

Does adding it with the gitignore plugin not work?

@sloede
Copy link
Author

sloede commented May 17, 2023

How would I do that? From the docs I only gather how I can use the gitignore function when defining new plugins, but now how to properly use it for this use case.

@gdalle
Copy link
Collaborator

gdalle commented Jul 31, 2023

That would help make #415 and friends more maintainable

@nsajko
Copy link

nsajko commented Oct 28, 2023

How would I do that? From the docs I only gather how I can use the gitignore function when defining new plugins, but now how to properly use it for this use case.

@sloede I just did it like this:

  1. Run using PkgTemplates; generate()
  2. Choose to customize the git plugin
  3. In the git plugin menu, choose to customize ignore
  4. Set it to ["**/Manifest.toml"], presumably each entry in the array translates to one gitignore line

@gdalle
Copy link
Collaborator

gdalle commented Oct 30, 2023

While it is possible by tinkering with the plugin, I think we should make it the default. Will open a PR

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

4 participants