-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
61fb705
commit 9320cd1
Showing
7 changed files
with
60 additions
and
42 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
language: scala | ||
jdk: oraclejdk8 | ||
script: | ||
- sbt +test |
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 |
---|---|---|
|
@@ -2,19 +2,25 @@ name := "ascii-graphs" | |
|
||
organization := "com.github.mdr" | ||
|
||
version := "0.0.6" | ||
version := "0.0.7-SNAPSHOT" | ||
|
||
scalaVersion := "2.12.1" | ||
scalaVersion := "2.12.3" | ||
|
||
crossScalaVersions := Seq("2.9.1", "2.9.2", "2.10.1") | ||
crossScalaVersions := Seq("2.10.6", "2.11.11", "2.12.3") | ||
|
||
scalacOptions ++= Seq("-deprecation") | ||
scalacOptions ++= Seq( | ||
"-deprecation", | ||
"-encoding", | ||
"UTF-8", | ||
"-feature", | ||
"-unchecked" | ||
) | ||
|
||
javacOptions ++= Seq("-source", "1.6", "-target", "1.6") | ||
|
||
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.1" % "test" | ||
|
||
libraryDependencies += "org.scalacheck" %% "scalacheck" % "1.13.4" % "test" | ||
libraryDependencies ++= Seq( | ||
"org.scalatest" %% "scalatest" % "3.0.1" % Test, | ||
"org.scalacheck" %% "scalacheck" % "1.13.4" % Test | ||
) | ||
|
||
// Screen-sized dependency graph: | ||
// libraryDependencies += "org.vert-x" % "vertx-core" % "1.3.1.final" | ||
|
@@ -27,39 +33,44 @@ EclipseKeys.eclipseOutput := Some("bin") | |
|
||
import com.typesafe.sbt.SbtScalariform.ScalariformKeys | ||
|
||
ScalariformKeys.preferences <<= baseDirectory.apply { dir => | ||
ScalariformKeys.preferences := { | ||
val dir = baseDirectory.value | ||
scalariform.formatter.preferences.PreferencesImporterExporter.loadPreferences((dir / "formatterPreferences.properties").getPath) | ||
} | ||
|
||
publishMavenStyle := true | ||
|
||
publishArtifact in Test := false | ||
|
||
publishTo <<= isSnapshot( | ||
if (_) Some("snapshots" at "https://oss.sonatype.org/content/repositories/snapshots/") | ||
else Some("releases" at "https://oss.sonatype.org/service/local/staging/deploy/maven2/")) | ||
|
||
pomExtra := { | ||
<inceptionYear>2012</inceptionYear> | ||
<url>http://github.com/mdr/ascii-graphs</url> | ||
<licenses> | ||
<license> | ||
<name>MIT License</name> | ||
<url>http://www.opensource.org/licenses/mit-license.php</url> | ||
<distribution>repo</distribution> | ||
</license> | ||
</licenses> | ||
<scm> | ||
<url>git@github.com:mdr/ascii-graphs.git</url> | ||
<connection>scm:git:git@github.com:mdr/ascii-graphs</connection> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<id>mdr</id> | ||
<name>Matt Russell</name> | ||
<url>https://github.com/mdr/</url> | ||
</developer> | ||
</developers> | ||
publishTo := { | ||
val nexus = "https://oss.sonatype.org/" | ||
if (version.value.trim.endsWith("SNAPSHOT")) { | ||
Some("snapshots" at nexus + "content/repositories/snapshots") | ||
} | ||
else { | ||
Some("releases" at nexus + "service/local/staging/deploy/maven2") | ||
} | ||
} | ||
|
||
startYear := Some(2012) | ||
|
||
homepage := Some(url("http://github.com/mdr/ascii-graphs")) | ||
|
||
scmInfo := Some( | ||
ScmInfo( | ||
url("https://github.com/mdr/ascii-graphs"), | ||
"scm:git:[email protected]:mdr/ascii-graphs.git" | ||
) | ||
) | ||
|
||
developers += | ||
Developer( | ||
"mdr", | ||
"Matt Russell", | ||
"[email protected]", | ||
url("https://github.com/mdr/") | ||
) | ||
|
||
licenses := Seq("MIT License" -> url("http://www.opensource.org/licenses/mit-license.php")) | ||
|
||
// scalacOptions in (Compile, doc) += "-diagrams" |
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,2 +1 @@ | ||
sbt.version=0.13.13 | ||
|
||
sbt.version=0.13.16 |
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
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