Skip to content

Commit

Permalink
Python -> Scala
Browse files Browse the repository at this point in the history
  • Loading branch information
kelvl committed Apr 28, 2013
1 parent 75bde43 commit d72cf4b
Show file tree
Hide file tree
Showing 56 changed files with 4,822 additions and 1,606 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
*.pyc
*.log
target/
1 change: 0 additions & 1 deletion MANIFEST.in

This file was deleted.

184 changes: 0 additions & 184 deletions ci.xml

This file was deleted.

59 changes: 0 additions & 59 deletions debug_shadow.conf.py

This file was deleted.

40 changes: 40 additions & 0 deletions project/Build.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import sbt._
import sbt.Keys._
import sbtassembly.Plugin._
import AssemblyKeys._
import spray.revolver.RevolverPlugin._

object ShadowBuild extends Build {

lazy val shadow = Project(
id = "shadow",
base = file("."),
settings = Project.defaultSettings ++ Revolver.settings ++ assemblySettings ++ Seq(
name := "shadow",
organization := "com.twilio",
scalaVersion := "2.10.0",
mainClass in assembly := Some("com.twilio.shadow.Boot"),
assembleArtifact in packageScala := true, //exclude scala library from assembly artifact
test in assembly := {}, //disable running test when creating assembly aritifact
assemblyCacheOutput in assembly := true,
libraryDependencies ++= List(

"io.spray" % "spray-can" % "1.1-M7",
"io.spray" % "spray-routing" % "1.1-M7",
"io.spray" % "spray-testkit" % "1.1-M7",
"com.typesafe.akka" %% "akka-actor" % "2.1.0",
"org.json4s" %% "json4s-native" % "3.2.4",
"nl.grons" %% "metrics-scala" % "2.2.0",

// test
"org.scalatest" %% "scalatest" % "2.0.M5b" % "test",
"com.xebialabs.restito" % "restito" % "0.4-alpha-2" % "test"

),
compileOrder := CompileOrder.Mixed,
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) => { case x => old(x) }},
classpathTypes ~= (_ + "orbit"),
resolvers ++= List("Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/")
)
)
}
1 change: 1 addition & 0 deletions project/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sbt.version=0.12.1
11 changes: 11 additions & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
addSbtPlugin("io.spray" % "sbt-revolver" % "0.6.2")

resolvers += "Sonatype snapshots" at "http://oss.sonatype.org/content/repositories/snapshots/"

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.3.0-SNAPSHOT")

resolvers += Resolver.url("artifactory", url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)

addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.8.6")

addSbtPlugin("com.github.gseitz" % "sbt-release" % "0.7")
27 changes: 0 additions & 27 deletions setup.py

This file was deleted.

Loading

0 comments on commit d72cf4b

Please sign in to comment.