Merge pull request #1 from Duhemm/setup-travis

Setup travis, public tests in utilLogging
This commit is contained in:
eugene yokota 2015-08-30 22:28:16 -04:00 committed by Dale Wijnand
commit d7b4c00999
No known key found for this signature in database
GPG Key ID: 4F256E3D151DF5EF
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
package sbt.complete
import java.io.File
import sbt.IO
import sbt.io.IO
/**
* These sources of examples are used in parsers for user input completion. An example of such a source is the
@ -56,4 +56,4 @@ class FileExamples(base: File, prefix: String = "") extends ExampleSource {
private def dirStartsWithPrefix(relativizedPath: String): Boolean =
(relativizedPath startsWith prefix) || (prefix startsWith relativizedPath)
}
}

View File

@ -5,6 +5,7 @@ package sbt
package complete
import java.io.File
import sbt.io.IO
object HistoryCommands {
val Start = "!"
@ -70,4 +71,4 @@ object HistoryCommands {
val actionParser: Parser[complete.History => Option[List[String]]] =
Start ~> (help | last | execInt | list | execStr) // execStr must come last
}
}

View File

@ -2,9 +2,8 @@ package sbt.complete
import org.specs2.mutable.Specification
import org.specs2.specification.Scope
import sbt.IO.withTemporaryDirectory
import java.io.File
import sbt.IO._
import sbt.io.IO._
class FileExamplesTest extends Specification {