summaryrefslogtreecommitdiff
path: root/project/build.sbt
diff options
context:
space:
mode:
Diffstat (limited to 'project/build.sbt')
-rw-r--r--project/build.sbt49
1 files changed, 2 insertions, 47 deletions
diff --git a/project/build.sbt b/project/build.sbt
index b110ef2..1fbce95 100644
--- a/project/build.sbt
+++ b/project/build.sbt
@@ -1,48 +1,3 @@
-resolvers += Resolver.url(
- "bintray-sbt-plugin-releases",
- url("http://dl.bintray.com/content/sbt/sbt-plugin-releases"))(
- Resolver.ivyStylePatterns)
+addSbtPlugin("org.scala-lang.modules.scalajs" % "scalajs-sbt-plugin" % "0.5.5")
-addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.2")
-
-addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.11.2")
-
-libraryDependencies += "com.google.javascript" % "closure-compiler" % "v20130603"
-
-libraryDependencies += "org.mozilla" % "rhino" % "1.7R4"
-
-libraryDependencies += "org.webjars" % "envjs" % "1.2"
-
-libraryDependencies += "org.eclipse.jgit" % "org.eclipse.jgit.pgm" % "3.2.0.201312181205-r"
-
-libraryDependencies += "com.googlecode.json-simple" % "json-simple" % "1.1.1"
-
-libraryDependencies += "org.eclipse.jetty" % "jetty-websocket" % "8.1.16.v20140903"
-
-libraryDependencies += "org.eclipse.jetty" % "jetty-server" % "8.1.16.v20140903"
-
-
-unmanagedSourceDirectories in Compile ++= {
- val root = baseDirectory.value.getParentFile
- Seq(
- root / "ir/src/main/scala",
- root / "tools/shared/src/main/scala",
- root / "tools/jvm/src/main/scala",
- root / "sbt-plugin/src/main/scala"
- )
-}
-
-// Add the ScalaJSEnvGenerator to the build (its in the build of the build)
-sources in Compile +=
- baseDirectory.value / "project" / "ScalaJSEnvGenerator.scala"
-
-sourceGenerators in Compile <+= Def.task {
- ScalaJSEnvGenerator.generateEnvHolder(
- baseDirectory.value.getParentFile / "tools",
- (sourceManaged in Compile).value)
-}
-
-unmanagedResourceDirectories in Compile += {
- val root = baseDirectory.value.getParentFile
- root / "tools/src/main/resources"
-}
+addSbtPlugin("com.lihaoyi" % "utest-js-plugin" % "0.2.4")