LoginSignup
0
0

More than 3 years have passed since last update.

Scala.jsのCIでの複数バージョンビルドの方法

Posted at

Scala.jsのバージョン1.0がいつリリースされても良いように0.6系と1.0系でCIで確認をしたい。

しかし、Scala.jsはsbt pluginでScala.jsのバージョンを指定することになるので、同一のsbtセッションで複数のバージョンが扱えない。

scala-js-domではsbt-scalajsのバージョンを環境変数 SCALAJS_VERSION で切り替え可能にし、CIで両バージョンでビルドするようになっていた。一応、これで目的は達成できそうである。

参考 https://github.com/scala-js/scala-js-dom/commit/a37bdc56fe250c42b497bee8b195305e3b6d2393#diff-ff7d8159fb5e896132e441a18d319f80

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0