Merge pull request #1557 from gkossakowski/scripted-compactify

Fix `compactify` scripted test failure.
This commit is contained in:
eugene yokota 2014-08-27 14:18:28 -04:00
commit 68602278d5
2 changed files with 5 additions and 0 deletions

View File

@ -2,3 +2,8 @@ TaskKey[Unit]("output-empty") <<= classDirectory in Configurations.Compile map {
def classes = (outputDirectory ** "*.class").get
if(!classes.isEmpty) error("Classes existed:\n\t" + classes.mkString("\n\t")) else ()
}
// apparently Travis CI stopped allowing long file names
// it fails with the default setting of 255 characters so
// we have to set lower limit ourselves
scalacOptions ++= Seq("-Xmax-classfile-name", "240")