-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched to using scalafmt-dynamic over scalafmt-cli Added support for remote config files Added support for validating sources without rewriting files
- Loading branch information
1 parent
9be3bc3
commit 662b07b
Showing
40 changed files
with
1,161 additions
and
591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<settings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/SETTINGS/1.0.0" | ||
xsi:schemalocation="http://maven.apache.org/SETTINGS/1.0.0 | ||
http://maven.apache.org/xsd/settings-1.0.0.xsd"> | ||
<profiles> | ||
<profile> | ||
<id>travis</id> | ||
<activation> | ||
<activeByDefault>true</activeByDefault> | ||
<property> | ||
<name>performRelease</name> | ||
<value>true</value> | ||
</property> | ||
</activation> | ||
<properties> | ||
<gpg.executable>${env.GPG_EXECUTABLE}</gpg.executable> | ||
<gpg.passphrase>${env.GPG_PASSPHRASE}</gpg.passphrase> | ||
</properties> | ||
</profile> | ||
</profiles> | ||
</settings> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,18 @@ | ||
version = "2.0.0-RC1" | ||
style = defaultWithAlign | ||
maxColumn = 120 | ||
continuationIndent.callSite = 2 | ||
continuationIndent.defnSite = 2 | ||
align.openParenDefnSite = false | ||
align.openParenCallSite = false | ||
danglingParentheses = true | ||
indentOperator = spray | ||
rewrite.rules = [RedundantBraces, RedundantParens, SortModifiers, prefercurlyfors] | ||
unindentTopLevelOperators = true | ||
importSelectors = singleLine | ||
spaces.afterKeywordBeforeParen = true | ||
lineEndings = unix | ||
newlines.penalizeSingleSelectMultiArgList = false | ||
newlines.alwaysBeforeElseAfterCurlyIf = false | ||
binPack.literalArgumentLists = false | ||
runner.optimizer.forceConfigStyleMinArgCount = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,19 @@ | ||
language: scala | ||
|
||
jdk: | ||
- openjdk8 | ||
|
||
before_install: | ||
- wget http://apache.mirror.gtcomm.net/maven/maven-3/3.6.0/binaries/apache-maven-3.6.0-bin.tar.gz | ||
- tar xzvf apache-maven-3.6.0-bin.tar.gz | ||
- export PATH=`pwd`/apache-maven-3.6.0/bin:$PATH | ||
- mvn -v | ||
- wget http://apache.mirror.gtcomm.net/maven/maven-3/3.6.1/binaries/apache-maven-3.6.1-bin.tar.gz | ||
- tar xzvf apache-maven-3.6.1-bin.tar.gz | ||
- export PATH=`pwd`/apache-maven-3.6.1/bin:$PATH | ||
- echo $GPG_SECRET_KEYS | base64 --decode | $GPG_EXECUTABLE --import | ||
- echo $GPG_OWNERTRUST | base64 --decode | $GPG_EXECUTABLE --import-ownertrust | ||
- echo $TRAVIS_BRANCH | ||
|
||
install: | ||
mvn --settings .maven.xml install -B -V | ||
|
||
script: | ||
mvn -Dversion.scalafmt=1.5.1 clean test -Ptest | ||
cache: | ||
directories: | ||
- ~/.m2/repository |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.