diff options
author | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-12 22:31:05 -0500 |
---|---|---|
committer | Christopher Vogt <oss.nsp@cvogt.org> | 2016-03-19 21:04:52 -0400 |
commit | ba49574e1bf51f7fb1a9cbfe94d3b7185afbbc80 (patch) | |
tree | c8e97a8a8d2cc95969179fcf2975ba4b4113c887 /stage2/Lib.scala | |
parent | ee7737c5648708bd841c1ef41c277a7324fd46da (diff) | |
download | cbt-ba49574e1bf51f7fb1a9cbfe94d3b7185afbbc80.tar.gz cbt-ba49574e1bf51f7fb1a9cbfe94d3b7185afbbc80.tar.bz2 cbt-ba49574e1bf51f7fb1a9cbfe94d3b7185afbbc80.zip |
Make trapExitCode pass on previous exit codes
Diffstat (limited to 'stage2/Lib.scala')
-rw-r--r-- | stage2/Lib.scala | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/stage2/Lib.scala b/stage2/Lib.scala index 60e7dd4..e3e1ee1 100644 --- a/stage2/Lib.scala +++ b/stage2/Lib.scala @@ -97,7 +97,6 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{ "-d", apiTarget.toString ) ++ compileArgs ++ sourceFiles.map(_.toString) logger.lib("creating docs for source files "+args.mkString(", ")) - trapExitCode{ redirectOutToErr{ runMain( "scala.tools.nsc.ScalaDoc", @@ -106,7 +105,6 @@ final class Lib(logger: Logger) extends Stage1Lib(logger) with Scaffold{ ) } } - } val docJar = jarTarget ++ ("/"++artifactId++"-"++version++"-javadoc.jar") lib.jarFile(docJar, Vector(apiTarget)) docJar |