Permalink
Browse files

Scala JS build

  • Loading branch information...
japgolly committed Jun 26, 2014
1 parent 7aec203 commit 84e2a0fdb513a94b8b24937fa01dce63d5c1d874
Showing with 35 additions and 4 deletions.
  1. +17 −0 README.md
  2. +9 −4 project/build.scala
  3. +9 −0 project/plugins.sbt
@@ -1,3 +1,20 @@
# Scala JS

This has been compiled for Scala.JS and published to bintray under `japgolly.scalaz`.

project/plugins.sbt
```
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.1")
```

build.sbt
```
resolvers += bintray.Opts.resolver.repo("japgolly", "forks")
libraryDependencies += "japgolly.scalaz" %%% "scalaz-core" % "7.1.0-M7"
```


# Scalaz

Scalaz is a Scala library for functional programming.
@@ -55,8 +55,15 @@ object build extends Build {
reapply(Seq(scalazMimaBasis in ThisBuild := releaseV), st)
}

lazy val standardSettings: Seq[Sett] = Defaults.defaultSettings ++ sbtrelease.ReleasePlugin.releaseSettings ++ Seq[Sett](
organization := "org.scalaz",
import bintray.{Keys => BK}
lazy val standardSettings: Seq[Sett] = Defaults.defaultSettings ++ sbtrelease.ReleasePlugin.releaseSettings ++
scala.scalajs.sbtplugin.ScalaJSPlugin.scalaJSBuildSettings ++
bintray.Plugin.bintrayPublishSettings ++
Seq[Sett](
licenses += ("MIT", url("http://opensource.org/licenses/MIT")),
organization := "japgolly.scalaz",
BK.repository in BK.bintray := "forks",
publishMavenStyle := true,

scalaVersion := "2.9.2",
crossScalaVersions := Seq("2.9.2", "2.9.3", "2.10.1", "2.11.0-RC1"),
@@ -108,8 +115,6 @@ object build extends Build {
if (index.exists()) Desktop.getDesktop.open(out / "index.html")
},

credentialsSetting,
publishSetting,
publishArtifact in Test := false,

// adapted from sbt-release defaults
@@ -13,3 +13,12 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.2.5")
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "0.1.6")

addSbtPlugin("com.eed3si9n" % "sbt-unidoc" % "0.2.0")

addSbtPlugin("org.scala-lang.modules.scalajs" % "scalajs-sbt-plugin" % "0.5.0")

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")

0 comments on commit 84e2a0f

Please sign in to comment.