mirror of https://github.com/sbt/sbt.git
Reformat some corner cases
This commit is contained in:
parent
8f4b8abb7b
commit
ebe5540226
|
|
@ -87,15 +87,14 @@ private[sbt] object ForkTests {
|
|||
val config = new ForkConfiguration(ConsoleAppender.formatEnabledInEnv, parallel)
|
||||
os.writeObject(config)
|
||||
|
||||
val taskdefs = opts.tests.map(
|
||||
t =>
|
||||
new TaskDef(
|
||||
t.name,
|
||||
forkFingerprint(t.fingerprint),
|
||||
t.explicitlySpecified,
|
||||
t.selectors
|
||||
val taskdefs = opts.tests.map { t =>
|
||||
new TaskDef(
|
||||
t.name,
|
||||
forkFingerprint(t.fingerprint),
|
||||
t.explicitlySpecified,
|
||||
t.selectors
|
||||
)
|
||||
)
|
||||
}
|
||||
os.writeObject(taskdefs.toArray)
|
||||
|
||||
os.writeInt(runners.size)
|
||||
|
|
|
|||
|
|
@ -67,11 +67,9 @@ object Package {
|
|||
}
|
||||
setVersion(main)
|
||||
|
||||
type Inputs = Map[File, String] :+: FilesInfo[ModifiedFileInfo] :+: Manifest :+: HNil
|
||||
val cachedMakeJar = inputChanged(cacheStoreFactory make "inputs") {
|
||||
(
|
||||
inChanged,
|
||||
inputs: Map[File, String] :+: FilesInfo[ModifiedFileInfo] :+: Manifest :+: HNil
|
||||
) =>
|
||||
(inChanged, inputs: Inputs) =>
|
||||
import exists.format
|
||||
val sources :+: _ :+: manifest :+: HNil = inputs
|
||||
inputChanged(cacheStoreFactory make "output") { (outChanged, jar: PlainFileInfo) =>
|
||||
|
|
|
|||
|
|
@ -54,9 +54,8 @@ object RawCompileLike {
|
|||
): Gen =
|
||||
(sources, classpath, outputDirectory, options, maxErrors, log) => {
|
||||
type Inputs =
|
||||
FilesInfo[HashFileInfo] :+: FilesInfo[ModifiedFileInfo] :+: Seq[File] :+: File :+: Seq[
|
||||
String
|
||||
] :+: Int :+: HNil
|
||||
FilesInfo[HashFileInfo] :+: FilesInfo[ModifiedFileInfo] :+: Seq[File] :+: File :+:
|
||||
Seq[String] :+: Int :+: HNil
|
||||
val inputs
|
||||
: Inputs = hash(sources.toSet ++ optionFiles(options, fileInputOpts)) :+: lastModified(
|
||||
classpath.toSet
|
||||
|
|
|
|||
Loading…
Reference in New Issue