Skip to content
9 changes: 1 addition & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,8 @@
language: scala
script:
- sbt ++$TRAVIS_SCALA_VERSION package
after_success:
- if [[ "${PUBLISH_ENABLED}" == "true" && "${TRAVIS_PULL_REQUEST}" == "false" && "${TRAVIS_BRANCH}" == "master" && "${PUBLISH_USER}" != "" && "${PUBLISH_PASS}" != "" ]]; then sbt ++$TRAVIS_SCALA_VERSION publish; fi
scala:
- 2.10.4
- 2.11.1
- 2.11.2
jdk:
- oraclejdk7
env:
global:
- PUBLISH_ENABLED=true
- secure: "U4e4bu6oloMIgWfr/9JNufxP1WGkYzUCLmp05gkXKlTbBKOvfRrRoEIvThU3ugzZ0sa0fexbqYcbvtMiL+Zv1CR7YAUac95qv/KhfUsJgew92iHDAPbNHD40J3q1eykMHX0e/q4Ik5FjbVjKN0Zpd/OAoP0zl/mWmK3gN7I+ijU="
- secure: "bcERMMbSaQAUeqylmYDWmr30PAVwqlDvLx4w2EZAmABTbd4BKz3BYevWVnytWGUJ5UkSAVfawRFji+QEul7hRzQ/KOb9eaqytRSsTHhaBeKrqqgaTf1O6Utqch0buNMdhhr6jM6wohlaRz2g53Q2RaHogHWscWwu7bFMxBs51U8="
48 changes: 44 additions & 4 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,17 +1,57 @@
scalaJSSettings
lazy val root = project.in(file(".")).
enablePlugins(ScalaJSPlugin)

name := "Scala.js DOM"

normalizedName := "scalajs-dom"

version := "0.7.0-SNAPSHOT"

organization := "org.scala-lang.modules.scalajs"
organization := "org.scala-js"

scalaVersion := "2.11.1"
scalaVersion := "2.11.2"

crossScalaVersions := Seq("2.10.4", "2.11.1")
crossScalaVersions := Seq("2.10.4", "2.11.2")

scalacOptions ++= Seq("-deprecation", "-feature")

homepage := Some(url("http://scala-js.org/"))

licenses += ("MIT", url("http://opensource.org/licenses/mit-license.php"))

scmInfo := Some(ScmInfo(
url("https://github.com/scala-js/scala-js-dom"),
"scm:git:git@github.com:scala-js/scala-js-dom.git",
Some("scm:git:git@github.com:scala-js/scala-js-dom.git")))

publishMavenStyle := true

publishTo := {
val nexus = "https://oss.sonatype.org/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}

pomExtra := (
<developers>
<developer>
<id>lihaoyi</id>
<name>Li Haoyi</name>
<url>https://github.com/lihaoyi/</url>
</developer>
<developer>
<id>sjrd</id>
<name>Sébastien Doeraene</name>
<url>https://github.com/sjrd/</url>
</developer>
<developer>
<id>gzm0</id>
<name>Tobias Schlatter</name>
<url>https://github.com/gzm0/</url>
</developer>
</developers>
)

pomIncludeRepository := { _ => false }
39 changes: 0 additions & 39 deletions project/PublishToBintray.scala

This file was deleted.

2 changes: 1 addition & 1 deletion project/build.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sbt.version=0.13.0
sbt.version=0.13.7
6 changes: 4 additions & 2 deletions project/build.sbt
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
addSbtPlugin("me.lessis" % "bintray-sbt" % "0.1.1")
resolvers += Resolver.url("scala-js-releases",
url("http://dl.bintray.com/scala-js/scala-js-releases/"))(
Resolver.ivyStylePatterns)

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

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.6.0")
Loading