diff options
author | Jakob Odersky <jakob@inpher.io> | 2019-10-09 17:10:43 -0400 |
---|---|---|
committer | Jakob Odersky <jakob@inpher.io> | 2019-10-09 20:33:16 -0400 |
commit | 0ceee5ed4bae240b8c8e94d2fd7424d9d0b67ec7 (patch) | |
tree | 2df0258f81050e6fed51d38e217c4f6256518e12 /project | |
parent | faed28c54900fc0b359700873367095f51425794 (diff) | |
download | scala-triad-0ceee5ed4bae240b8c8e94d2fd7424d9d0b67ec7.tar.gz scala-triad-0ceee5ed4bae240b8c8e94d2fd7424d9d0b67ec7.tar.bz2 scala-triad-0ceee5ed4bae240b8c8e94d2fd7424d9d0b67ec7.zip |
Migrate build to mill
Diffstat (limited to 'project')
-rw-r--r-- | project/Js.scala | 20 | ||||
-rw-r--r-- | project/build.properties | 1 | ||||
-rw-r--r-- | project/plugins.sbt | 7 |
3 files changed, 0 insertions, 28 deletions
diff --git a/project/Js.scala b/project/Js.scala deleted file mode 100644 index 9afb064..0000000 --- a/project/Js.scala +++ /dev/null @@ -1,20 +0,0 @@ -import sbt._ -import sbt.Keys._ -import org.scalajs.sbtplugin.ScalaJSPlugin.autoImport._ - -object Js { - - def dependsOnJs(proj: Project): Seq[Setting[_]] = Seq( - resourceGenerators in Compile += Def.task { - val js: File = (fastOptJS in (proj, Compile)).value.data - val map = js.getParentFile / (js.name + ".map") - val out = (resourceManaged in Compile).value / "assets" / "ui" / "js" - val toCopy = Seq( - js -> out / js.name, - map -> out / map.name - ) - IO.copy(toCopy).toSeq - }.taskValue - ) - -} diff --git a/project/build.properties b/project/build.properties deleted file mode 100644 index 2305049..0000000 --- a/project/build.properties +++ /dev/null @@ -1 +0,0 @@ -sbt.version=1.1.4
\ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt deleted file mode 100644 index a884d99..0000000 --- a/project/plugins.sbt +++ /dev/null @@ -1,7 +0,0 @@ -addSbtPlugin("io.spray" % "sbt-revolver" % "0.9.1") -addSbtPlugin("com.geirsson" % "sbt-scalafmt" % "1.5.1") - -addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "0.4.0") -addSbtPlugin("org.portable-scala" % "sbt-scala-native-crossproject" % "0.4.0") -addSbtPlugin("org.scala-js" % "sbt-scalajs" % "0.6.22") -addSbtPlugin("org.scala-native" % "sbt-scala-native" % "0.3.7") |