Skip to content

Commit 2df39c9

Browse files
committed
format on compile && check formatting in traivs
1 parent d5ddc70 commit 2df39c9

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: scala
22
jdk:
33
- oraclejdk8
44
script:
5-
- sbt package
5+
- sbt scalafmtCheck scalafmtSbtCheck package
66
- cp target/scala-*/*.jar .
77
cache:
88
directories:

build.sbt

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
organization := "gitbucket"
2-
name := "gitbucket-pages-plugin"
3-
scalaVersion := "2.12.4"
4-
version := "1.7.0"
1+
organization := "gitbucket"
2+
name := "gitbucket-pages-plugin"
3+
scalaVersion := "2.12.4"
4+
version := "1.7.0"
55
gitbucketVersion := "4.23.0"
66
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "utf8", "-feature")
7+
8+
scalafmtOnCompile := true

0 commit comments

Comments
 (0)