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

Replace library dependencies with module dependencies #169

Open
wants to merge 8 commits into
base: sbt-0.11
Choose a base branch
from

Conversation

riedelcastro
Copy link

As discussed, this is my clone with optional "replace libraries by modules" functionality. The option to pass is "replace-libs" but of course feel free to change this.

This is my first pull request ever, so I am sure I am doing something wrong. In particular, I changed the README to reflect the changes I made, I hope this doesn't cause trouble. Likewise, there is very little extra code, but it could probably still be organized and placed better.

@mpeltonen
Copy link
Owner

Finally I got some time to look into this, sorry...

Could you please make a new pull request (or change the commits in this one, if that's possible, I don't know) which would only include commits with changes for this feature, I.e. without any formatting and project definition changes irrelevant to this feature? It would be easier to review and merge.

Also make sure that scripted tests still pass after the changes (or even better, add some test for this feature).

@riedelcastro
Copy link
Author

Ah sure. Actually I tried to revert all formatting and irrelevant edits and
thought this worked out. Not sure what happened, but I'll just try again.
On Sep 6, 2012 5:57 PM, "Mikko Peltonen" [email protected] wrote:

Finally I got some time to look into this, sorry...

Could you please make a new pull request (or change the commits in this
one, if that's possible, I don't know) which would only include commits
with changes for this feature, I.e. without any formatting and project
definition changes irrelevant to this feature? It would be easier to review
and merge.

Also make sure that scripted tests still pass after the changes (or even
better, add some test for this feature).


Reply to this email directly or view it on GitHubhttps://github.com//pull/169#issuecomment-8339488.

@riedelcastro
Copy link
Author

Hmm, when I look at the diff (https://github.com/mpeltonen/sbt-idea/pull/169/files) it looks like the minimal, "no-formatting changes" version with only relevant changes. Or do do you mean the README file? In that case it would probably best to just take it out of the pull (if possible), as I intended the README to describe the changes made in this clone.

Actually I didn't know about the scripted tests, let me look into this.

@mpeltonen
Copy link
Owner

Yeah, /files seems to be the end result of applying all the commits, but I'd prefer commit(s) with just relevant stuff.

@jozic
Copy link
Contributor

jozic commented Sep 9, 2012

@riedelcastro you can squash all the commits so, the result commit will contain only the end result of applying all the commits

@riedelcastro
Copy link
Author

Thanks for the useful pointer! I hope I get around to do this soon.

@riedelcastro
Copy link
Author

I am sure I am missing something very obvious, but how do I run the scripted tests?

@jozic
Copy link
Contributor

jozic commented Sep 13, 2012

just type "scripted" in sbt console
see more here http://eed3si9n.com/testing-sbt-plugins

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.

3 participants