Don't format *.sbt files

This adds update on load, which interacts badly with +compile.
This commit is contained in:
Eugene Yokota 2017-08-25 17:14:41 -04:00
parent 89b32ae93d
commit a088169568
2 changed files with 2 additions and 1 deletions

View File

@ -6,7 +6,7 @@ scala:
- 2.12.3
script:
- sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M "++$TRAVIS_SCALA_VERSION" mimaReportBinaryIssues scalafmt::test test:scalafmt::test sbt:scalafmt::test test
- sbt -Dfile.encoding=UTF8 -J-XX:ReservedCodeCacheSize=256M "++$TRAVIS_SCALA_VERSION" mimaReportBinaryIssues scalafmt::test test:scalafmt::test test
cache:
directories:

View File

@ -63,6 +63,7 @@ lazy val utilRoot: Project = (project in file("."))
description := "Util module for sbt",
scmInfo := Some(ScmInfo(url("https://github.com/sbt/util"), "git@github.com:sbt/util.git")),
scalafmtOnCompile := true,
scalafmtOnCompile in Sbt := false,
scalafmtVersion := "1.2.0",
)),
commonSettings,