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

Shouldn't scalastyleGenerateConfig be defined only in ThisBuild #36

Open
Kwestor opened this issue Feb 8, 2015 · 2 comments
Open

Shouldn't scalastyleGenerateConfig be defined only in ThisBuild #36

Kwestor opened this issue Feb 8, 2015 · 2 comments
Labels

Comments

@Kwestor
Copy link

Kwestor commented Feb 8, 2015

This is not a big issue, but it seems file is now generated N times, when you have sub-modules in your project:

> scalastyleGenerateConfig
[success] created: C:\Users\Jerzy\Documents\GitHub\unicorn\scalastyle-config.xml
[success] created: C:\Users\Jerzy\Documents\GitHub\unicorn\scalastyle-config.xml
[success] created: C:\Users\Jerzy\Documents\GitHub\unicorn\scalastyle-config.xml
[success] Total time: 0 s, completed 2015-02-08 12:23:57
@matthewfarwell
Copy link
Member

Uh, yes. I'll see if I can do something nice.

@Kwestor
Copy link
Author

Kwestor commented Feb 9, 2015

I think defining it as scalastyleGenerateConfig in ThisBuild := ... should do the job.

I can check and issue a PR later, don't have time for this now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants