Skip to content

Commit

Permalink
Merge pull request sbt#1557 from gkossakowski/scripted-compactify
Browse files Browse the repository at this point in the history
Fix `compactify` scripted test failure.
  • Loading branch information
eed3si9n committed Aug 27, 2014
2 parents 66ad21e + b4110bf commit 6860227
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sbt/src/sbt-test/source-dependencies/compactify/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -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")

0 comments on commit 6860227

Please sign in to comment.