forked from element-doo/doit-csv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added build.sbt file (going DSL style), first publish (v0.1.0)
- Loading branch information
Showing
6 changed files
with
47 additions
and
16 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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
target | ||
bin | ||
*~ | ||
.cache | ||
.classpath | ||
.project | ||
.settings | ||
target |
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,29 @@ | ||
organization := "hr.element.doit" | ||
|
||
name := "doit-csv" | ||
|
||
version := "0.1.0" | ||
|
||
|
||
// ### Build settings ### | ||
|
||
libraryDependencies += "org.scalatest" %% "scalatest" % "1.7.1" % "test" | ||
|
||
crossScalaVersions := Seq("2.9.1", "2.9.0-1", "2.9.0") | ||
|
||
scalaVersion <<= (crossScalaVersions)(_.head) | ||
|
||
scalacOptions := Seq("-unchecked", "-deprecation", "-encoding", "UTF-8", "-optimise") | ||
|
||
unmanagedSourceDirectories in Compile <<= (scalaSource in Compile)( _ :: Nil) | ||
|
||
unmanagedSourceDirectories in Test <<= (scalaSource in Test )( _ :: Nil) | ||
|
||
|
||
// ### Publishing ### | ||
|
||
publishTo := Some("Element Releases" at "http://maven.element.hr/nexus/content/repositories/releases/") | ||
|
||
credentials += Credentials(Path.userHome / ".publish" / "element.credentials") | ||
|
||
publishArtifact in (Compile, packageDoc) := false |
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 @@ | ||
sbt-launch-*.jar |
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 @@ | ||
@echo off | ||
|
||
echo Will cross-publish project to the maven server | ||
call "%~dp0sbt.bat" %* +publish |
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 @@ | ||
#!/bin/bash | ||
|
||
echo Will cross-publish project to the maven server | ||
`dirname $0`/sbt.sh --no-jrebel "$@" +publish |
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