mirror of https://github.com/sbt/sbt.git
Skip process unit tests
This commit is contained in:
parent
f3ff3594ed
commit
81343707b9
20
build.sbt
20
build.sbt
|
|
@ -576,6 +576,23 @@ lazy val safeProjects: ScopeFilter = ScopeFilter(
|
|||
logProj, runProj, stdTaskProj),
|
||||
inConfigurations(Test)
|
||||
)
|
||||
lazy val otherUnitTests = taskKey[Unit]("Unit test other projects")
|
||||
lazy val otherProjects: ScopeFilter = ScopeFilter(
|
||||
inProjects(interfaceProj, apiProj, controlProj,
|
||||
applyMacroProj,
|
||||
// processProj, // this one is suspicious
|
||||
ioProj,
|
||||
relationProj, classfileProj, datatypeProj,
|
||||
crossProj, logicProj, testingProj, testAgentProj, taskProj,
|
||||
cacheProj, trackingProj,
|
||||
compileIncrementalProj,
|
||||
compilePersistProj, compilerProj,
|
||||
compilerIntegrationProj, compilerIvyProj,
|
||||
scriptedBaseProj, scriptedSbtProj, scriptedPluginProj,
|
||||
commandProj, mainSettingsProj, mainProj,
|
||||
sbtProj, mavenResolverPluginProj),
|
||||
inConfigurations(Test)
|
||||
)
|
||||
|
||||
def customCommands: Seq[Setting[_]] = Seq(
|
||||
commands += Command.command("setupBuildScala211") { state =>
|
||||
|
|
@ -594,6 +611,9 @@ def customCommands: Seq[Setting[_]] = Seq(
|
|||
safeUnitTests := {
|
||||
test.all(safeProjects).value
|
||||
},
|
||||
otherUnitTests := {
|
||||
test.all(otherProjects)
|
||||
}
|
||||
commands += Command.command("release-sbt-local") { state =>
|
||||
"clean" ::
|
||||
"allPrecompiled/clean" ::
|
||||
|
|
|
|||
Loading…
Reference in New Issue