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

Move generated source into "main" rather than "scala" #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

geeksville
Copy link

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...

This seems to match the convention used by other plugins such as scalate
@SandroGrzicic
Copy link
Contributor

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.

@SandroGrzicic
Copy link
Contributor

Calling @aloiscochard :)

@nefilim
Copy link

nefilim commented Jun 16, 2014

+1 ...would make it play nicer with IntelliJ too

@DomBlack
Copy link

+1 for this change

@nefilim
Copy link

nefilim commented Jun 23, 2014

@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"

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" ?

@echinthaka
Copy link

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.

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

Successfully merging this pull request may close these issues.

5 participants