-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Gracefully handle 2.11 and 2.12 in sbt plugin.
- Loading branch information
Showing
8 changed files
with
65 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
build: | ||
image: danieletorelli/sbt | ||
image: scalaplatform/scala:0.5 | ||
environment: | ||
- COURSIER_CACHE=/drone/cache/coursier | ||
commands: | ||
- export SBT_OPTS="-Xmx24G -XX:MaxPermSize=4G -Xss4M" | ||
- sbt ++$SCALA_VERSION clean test scripted | ||
matrix: | ||
SCALA_VERSION: | ||
- 2.11.8 | ||
- 2.12.1 | ||
- sbt clean test scripted | ||
cache: | ||
mount: | ||
- /drone/.git | ||
- /drone/.sbt | ||
- /drone/.ivy2 | ||
- /drone/cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
package scalafix | ||
|
||
object Versions { | ||
val nightly = "0.2.0-RC1" | ||
val nightly = "0.2.0-RC2-SNAPSHOT" | ||
val stable: String = nightly | ||
val scala = "2.11.8" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
scalafix-sbt/src/sbt-test/sbt-scalafix/basic/p3/src/main/scala/Test.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
object Main { | ||
implicit val x = 2 | ||
lazy val y = 2 | ||
def main(args: Array[String]) { | ||
println("hello") | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
scalafix-sbt/src/sbt-test/sbt-scalafix/basic/p3/src/test/scala/Test.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
object TestMain { | ||
implicit val x = 2 | ||
lazy val y = 2 | ||
def main(args: Array[String]) { | ||
println("hello") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters