@@ -79,7 +79,7 @@ object DottyBuild extends Build {
79
79
// command line arguments get passed to the last task in an aliased
80
80
// sequence (see partest alias below), so this works.
81
81
val args = Def .spaceDelimited(" <arg>" ).parsed
82
- val jars = Seq ((packageBin in Compile ).value.getAbsolutePath) ++
82
+ val jars = Seq ((packageBin in Compile ).value.getAbsolutePath) ++
83
83
getJarPaths(partestDeps.value, ivyPaths.value.ivyHome)
84
84
val dottyJars = " -dottyJars " + jars.length + " " + jars.mkString(" " )
85
85
// Provide the jars required on the classpath of run tests
@@ -118,8 +118,8 @@ object DottyBuild extends Build {
118
118
119
119
(" -DpartestParentID=" + pid) :: tuning ::: agentOptions ::: travis_build ::: fullpath
120
120
}
121
- ) ++ addCommandAlias(" partest" , " ;test:compile; lockPartestFile;test:test;runPartestRunner" ) ++
122
- addCommandAlias(" partest-only" , " ;test:compile ;lockPartestFile;test:test-only dotc.tests;runPartestRunner" )
121
+ ) ++ addCommandAlias(" partest" , " ;test:package;package; lockPartestFile;test:test;runPartestRunner" ) ++
122
+ addCommandAlias(" partest-only" , " ;test:package;package ;lockPartestFile;test:test-only dotc.tests;runPartestRunner" )
123
123
124
124
lazy val dotty = Project (id = " dotty" , base = file(" ." ), settings = defaults)
125
125
@@ -179,9 +179,9 @@ object DottyBuild extends Build {
179
179
180
180
lazy val partestDeps = SettingKey [Seq [ModuleID ]](" partestDeps" , " Finds jars for partest dependencies" )
181
181
def getJarPaths (modules : Seq [ModuleID ], ivyHome : Option [File ]): Seq [String ] = ivyHome match {
182
- case Some (home) =>
183
- modules.map({ module =>
184
- val file = Path (home) / Path (" cache" ) /
182
+ case Some (home) =>
183
+ modules.map({ module =>
184
+ val file = Path (home) / Path (" cache" ) /
185
185
Path (module.organization) / Path (module.name) / Path (" jars" ) /
186
186
Path (module.name + " -" + module.revision + " .jar" )
187
187
if (! file.isFile) throw new RuntimeException (" ERROR: sbt getJarPaths: dependency jar not found: " + file)
0 commit comments