-
Notifications
You must be signed in to change notification settings - Fork 59
add scalafix+scalameta+scalaparse+scalatex+ammonite-ops+geny+scalaj-http #472
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
Conversation
this rabbit hole was deep.
tested locally:
|
@@ -984,4 +989,60 @@ build += { | |||
extra.exclude: ["plugin"] // we never build sbt plugins | |||
} | |||
|
|||
// forked to remove the usual bintray gunk |
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.
Can we provide some additional configuration on our side (e.g. -Dsbt.prohibit.publish=true
) to make sure you don't need to maintain your fork?
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.
with this particular plugin, I don't think so, sadly. a bunch of other projects are affected, too. the ticket is lightbend-labs/dbuild#158
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.
(I actually did try -Dsbt.prohibit.publish=true
before forking, to no avail.)
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.
Thanks for the heads up! Just some FYIs
"scalafix-nsc" // depends on circe which we don't have yet | ||
// this didn't work; I decided to postpone any investigation. dbuild output an | ||
// immensely long error (tens of megabytes), enough to choke Jenkins | ||
"scalafix-tests" |
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.
Yes, I would exclude this directory. Here's where I run rewrites against a mini scalafix community-build. This involves cloning other projects and compiling them.
uri: ${vars.uris.scalafix-uri} | ||
extra.exclude: [ | ||
"scalafix-sbt" // we never build sbt plugins | ||
"scalafix-nsc" // depends on circe which we don't have yet |
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.
Note, most scalafix tests are currently in scalafix-nsc, core has a limited amount of tests. These tests depend on various projects (circe, shapeless,...) to reproduce bugs that surfaced in larger integration tests.
thanks Ólafur, I added your comments in 56c9c95 |
this rabbit hole was deep.