Skip to content

Commit

Permalink
Publish to ivy.untyped.com
Browse files Browse the repository at this point in the history
  • Loading branch information
Dave Gurnell committed Apr 9, 2012
1 parent f88236a commit 4fbec3a
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions project/Build.scala
Expand Up @@ -8,15 +8,24 @@ object Build extends Build {
id = "root",
base = file("."),
settings = Project.defaultSettings ++ Seq(
sbtPlugin := true,
organization := "com.untyped",
version := "0.1",
name := "tipi",
scalaVersion := "2.9.1",
scalacOptions += "-deprecation",
scalacOptions += "-unchecked",
libraryDependencies ++= Seq(
scalatest % "test"
)
),
publishTo := {
for {
host <- Option(System.getenv("DEFAULT_IVY_REPO_HOST"))
path <- Option(System.getenv("DEFAULT_IVY_REPO_PATH"))
user <- Option(System.getenv("DEFAULT_IVY_REPO_USER"))
keyfile <- Option(System.getenv("DEFAULT_IVY_REPO_KEYFILE"))
} yield Resolver.sftp("Untyped", host, path).as(user, file(keyfile))
},
publishMavenStyle := false
)
)
}

0 comments on commit 4fbec3a

Please sign in to comment.