-
Notifications
You must be signed in to change notification settings - Fork 53
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
Move generated source into "main" rather than "scala" #13
base: master
Are you sure you want to change the base?
Conversation
This seems to match the convention used by other plugins such as scalate
If this is the correct behavior, I definitely support this change since sbt-idea marks the scala directory as excluded, while the main directory is marked as source, so this is a very welcome change. |
Calling @aloiscochard :) |
+1 ...would make it play nicer with IntelliJ too |
+1 for this change |
@SandroGrzicic did you take this project over? Would be awesome if you did! |
@@ -56,7 +56,7 @@ object ScalaBuffPlugin extends Plugin { | |||
): Seq[File] = { | |||
val input = source / "protobuf" | |||
if (input.exists) { | |||
val output = sourceManaged / "scala" | |||
val output = sourceManaged / "main" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
shouldn't this go into sourceManaged / "main" / "scala" ?
first, thanks for setting this plugin up for scalabuff. Can we please have this PR integrated (with the comment I put their addressed)? I'm using this and for some reason (may be a bug) IDEA is not picking up the code unless its in sourceManaged/main/scala but sbt seems to be ok with it. |
This seems to match the convention used by other plugins such as scalate. I'm not sure if you want this change but it puts the files from scalabuff in the same tree as various other plugins...