This repository was archived by the owner on Jul 30, 2024. It is now read-only.
File tree 4 files changed +2
-12
lines changed 4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change 15
15
- TRAVIS_NODE_VERSION="10.22.0"
16
16
17
17
script :
18
- - SCALAJS_VERSION="0.6.33" sbt ++$TRAVIS_SCALA_VERSION test
19
- - SCALAJS_VERSION="" sbt ++$TRAVIS_SCALA_VERSION test
18
+ - sbt ++$TRAVIS_SCALA_VERSION test
20
19
21
20
install :
22
21
- rm -rf ~/.nvm &&
Original file line number Diff line number Diff line change @@ -55,9 +55,6 @@ object MySettings {
55
55
)
56
56
57
57
lazy val commonScalaJsSettings = Seq (
58
- scalacOptions ++= Seq (" -P:scalajs:sjsDefinedByDefault" ).filter { _ =>
59
- Option (System .getenv(" SCALAJS_VERSION" )).exists(_.startsWith(" 0.6." ))
60
- },
61
58
scalaJSLinkerConfig ~= {
62
59
_.withModuleKind(ModuleKind .CommonJSModule )
63
60
},
Original file line number Diff line number Diff line change 1
- val scalaJSVersion =
2
- Option (System .getenv(" SCALAJS_VERSION" )).filter(_.nonEmpty).getOrElse(" 1.1.1" )
3
-
4
- addSbtPlugin(" org.scala-js" % " sbt-scalajs" % scalaJSVersion)
1
+ addSbtPlugin(" org.scala-js" % " sbt-scalajs" % " 1.1.1" )
5
2
addSbtPlugin(" org.scalameta" % " sbt-scalafmt" % " 2.4.0" )
6
3
addSbtPlugin(" org.xerial.sbt" % " sbt-sonatype" % " 3.9.4" )
7
4
addSbtPlugin(" com.github.gseitz" % " sbt-release" % " 1.0.13" )
Original file line number Diff line number Diff line change 2
2
3
3
cat ./version.sbt
4
4
5
- export SCALAJS_VERSION=0.6.33
6
- sbt clean +publishSigned sonatypeBundleUpload sonatypeReleaseAll
7
- unset SCALAJS_VERSION
8
5
sbt clean +publishSigned sonatypeBundleUpload sonatypeReleaseAll
You can’t perform that action at this time.
0 commit comments