From e464d469f797309bdf413ec3f5bff854fa862067 Mon Sep 17 00:00:00 2001 From: Alexander Myltsev Date: Thu, 3 Jul 2014 13:35:30 +0400 Subject: [PATCH] Port to scala-js --- CONTRIBUTORS | 1 + README.md | 2 +- project/Build.scala | 6 ++++-- project/scalajs.sbt | 8 ++++++++ 4 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 project/scalajs.sbt diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 632c323b8..d1c221b5a 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -22,3 +22,4 @@ Stacy Curl Stephen Compall @S11001001 Tom Switzer @tixxit Travis Brown @travisbrown +Alexander Myltsev @alex_myltsev linkedin.com/in/alexandermyltsev diff --git a/README.md b/README.md index 8dadedf27..6c1dcb7ac 100644 --- a/README.md +++ b/README.md @@ -191,4 +191,4 @@ compatibility. + Stephen Compall [@S11001001](https://twitter.com/S11001001) + Tom Switzer [@tixxit](https://twitter.com/tixxit) + Travis Brown [@travisbrown](https://twitter.com/travisbrown) - ++ Alexander Myltsev [@alex_myltsev](https://twitter.com/alex_myltsev) [linkedin.com/in/alexandermyltsev](http://www.linkedin.com/in/alexandermyltsev) diff --git a/project/Build.scala b/project/Build.scala index 75d84449a..a547b4b38 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -59,7 +59,9 @@ object ShapelessBuild extends Build { Project( id = "shapeless-core", base = file("core"), - settings = commonSettings ++ Publishing.settings ++ osgiSettings ++ buildInfoSettings ++ releaseSettings ++ Seq( + settings = commonSettings ++ Publishing.settings ++ scala.scalajs.sbtplugin.ScalaJSPlugin.scalaJSSettings ++ bintray.Plugin.bintrayPublishSettings ++ osgiSettings ++ buildInfoSettings ++ releaseSettings ++ Seq( + licenses += ("Apache-2.0", url("http://www.apache.org/licenses/")), + moduleName := "shapeless", managedSourceDirectories in Test := Nil, @@ -161,7 +163,7 @@ object ShapelessBuild extends Build { def commonSettings = Defaults.defaultSettings ++ Seq( - organization := "com.chuusai", + organization := "name.myltsev", scalaVersion := "2.11.0", (unmanagedSourceDirectories in Compile) <<= (scalaSource in Compile)(Seq(_)), diff --git a/project/scalajs.sbt b/project/scalajs.sbt new file mode 100644 index 000000000..69bd7a4ef --- /dev/null +++ b/project/scalajs.sbt @@ -0,0 +1,8 @@ +addSbtPlugin("org.scala-lang.modules.scalajs" % "scalajs-sbt-plugin" % "0.5.1") + +resolvers += Resolver.url( + "bintray-sbt-plugin-releases", + url("http://dl.bintray.com/content/sbt/sbt-plugin-releases"))( + Resolver.ivyStylePatterns) + +addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.1")