-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -228,7 +228,10 @@ build += { | |
${vars.base} { | ||
name: "scala-records" | ||
uri: ${vars.uris.scala-records-uri} | ||
extra.exclude: ["coreJS"] | ||
extra.exclude: [ | ||
"coreJS" // no Scala.js please | ||
"root" // dbuild thinks it tries to publish root#root | ||
] | ||
} | ||
|
||
${vars.base} { | ||
|
@@ -388,8 +391,10 @@ build += { | |
${vars.base} { | ||
name: "fastparse" | ||
uri: ${vars.uris.fastparse-uri} | ||
// no Scala.js plz | ||
extra.projects: ["fastparseJVM"] | ||
extra.projects: [ | ||
"fastparseJVM" // no Scala.js plz | ||
"scalaparseJVM" // dependency of Scala.meta (!) | ||
] | ||
// TODO: tests depend on lambda toString looking like e.g `<function1>` | ||
extra.test-tasks: ["compile"] | ||
} | ||
|
@@ -984,4 +989,60 @@ build += { | |
extra.exclude: ["plugin"] // we never build sbt plugins | ||
} | ||
|
||
// forked to remove the usual bintray gunk | ||
${vars.base} { | ||
name: "scalameta" | ||
uri: ${vars.uris.scalameta-uri} | ||
// else, bintray stuff goes boom | ||
extra.options: ["-Dsbt.prohibit.publish=true"] | ||
extra.exclude: ["readme"] // requires scalatex-site which requires Scala.js | ||
} | ||
|
||
// forked to remove wartremover and coursier | ||
${vars.base} { | ||
name: "scalafix" | ||
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 commentThe 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. |
||
// 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 commentThe 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. |
||
// Missing dependency: the library com.github.alexarchambault#case-app | ||
"cli" | ||
// requires scalatex-site which requires Scala.js | ||
"readme" | ||
] | ||
} | ||
|
||
${vars.base} { | ||
name: "scalatex" | ||
uri: ${vars.uris.scalatex-uri} | ||
extra.exclude: [ | ||
"scalatexSbtPlugin" // we never build sbt plugins | ||
"site", "readme", "scrollspy" // these use Scala.js | ||
] | ||
} | ||
|
||
// for now we're just building ammonite-ops, not all of ammonite. | ||
// ammonite-ops is the piece scalatex needed. trying to build all | ||
// projects here resulted in a circular ammonite/scalatex dependency. | ||
// we might look into that some other time. | ||
${vars.base} { | ||
name: "ammonite" | ||
uri: ${vars.uris.ammonite-uri} | ||
extra.projects: ["ops"] | ||
} | ||
|
||
${vars.base} { | ||
name: "geny" | ||
uri: ${vars.uris.geny-uri} | ||
extra.projects: ["genyJVM"] // no Scala.js plz | ||
} | ||
|
||
${vars.base} { | ||
name: "scalaj-http" | ||
uri: ${vars.uris.scalaj-http-uri} | ||
} | ||
|
||
]} |
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.)