-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
42 changed files
with
61 additions
and
142 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
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
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
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
2 changes: 0 additions & 2 deletions
2
sbt/src/sbt-test/dependency-management/inline-default/project/build.properties
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
sbt/src/sbt-test/dependency-management/inline-default/project/build/src/TestProject.scala
This file was deleted.
Oops, something went wrong.
41 changes: 0 additions & 41 deletions
41
sbt/src/sbt-test/dependency-management/inline-default/test
This file was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
sbt/src/sbt-test/dependency-management/ivy-settings-a/build.sbt
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,6 +1,6 @@ | ||
seq(externalIvySettings(), externalIvyFile()) | ||
|
||
TaskKey("check") <<= (baseDirectory, update) map { (base, report) => | ||
TaskKey[Unit]("check") <<= (baseDirectory, update) map { (base, report) => | ||
val files = report.matching( moduleFilter(organization = "org.scalacheck", name = "scalacheck", revision = "1.5") ) | ||
assert(!files.isEmpty, "ScalaCheck module not found in update report") | ||
} |
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
6 changes: 4 additions & 2 deletions
6
sbt/src/sbt-test/dependency-management/parent-ivy-settings/changes/ivysettings.xml
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,9 @@ | ||
<ivysettings> | ||
<settings defaultResolver="lag"/> | ||
<settings defaultResolver="chain"/> | ||
<caches defaultCacheDir="${ivy.settings.dir}/target/cache"/> | ||
<resolvers> | ||
<ibiblio name="lag" m2compatible="true" root="http://www.lag.net/repo/"/> | ||
<chain name="chain" returnFirst="true"> | ||
<ibiblio name="scala-tools-releases" m2compatible="true" root="http://scala-tools.org/repo-releases/"/> | ||
</chain> | ||
</resolvers> | ||
</ivysettings> |
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
2 changes: 0 additions & 2 deletions
2
sbt/src/sbt-test/dependency-management/parent-ivy-settings/project/build.properties
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
sbt/src/sbt-test/dependency-management/parent-ivy-settings/project/build/SettingsTest.scala
This file was deleted.
Oops, something went wrong.
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
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
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
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,11 +1,15 @@ | ||
import sbt.complete.DefaultParsers._ | ||
|
||
InputKey("check-output") <<= { | ||
InputKey[Unit]("check-output") <<= { | ||
val parser = token(Space ~> ( ("exists" ^^^ true) | ("absent" ^^^ false) ) ) | ||
def action(result: TaskKey[Boolean]) = | ||
(classDirectory in Configurations.Compile, result) map { (dir, shouldExist) => | ||
if((dir / "Anon.class").exists != shouldExist) error("Top level class incorrect" ) | ||
else if( (dir / "Anon$1.class").exists != shouldExist) error("Inner class incorrect" ) | ||
if((dir / "Anon.class").exists != shouldExist) | ||
error("Top level class incorrect" ) | ||
else if( (dir / "Anon$1.class").exists != shouldExist) | ||
error("Inner class incorrect" ) | ||
else | ||
() | ||
} | ||
InputTask(s => parser)(action) | ||
} |
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,3 +1,3 @@ | ||
crossPaths :== false | ||
|
||
TaskKey("use-jar") := { injar.Test.other; () } | ||
TaskKey[Unit]("use-jar") := { injar.Test.other; () } |
Oops, something went wrong.