Skip to content

Commit

Permalink
Package
Browse files Browse the repository at this point in the history
  • Loading branch information
epifab committed Feb 13, 2024
1 parent 443ed62 commit 0a17c31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
with:
node-version: 12
- name: Build
run: sbt frontend/fullLinkJS
run: sbt frontend/fastOptJS/webpack
- name: Prepare artifact
run: |
mkdir artifact
cp modules/frontend/target/scala-3.3.1/frontend-opt/main.js artifact/main.js
cp modules/frontend/target/scala-3.3.1/frontend-fastopt/main.js artifact/main.js
cp -r modules/backend/src/main/resources/static artifact/static
cp modules/backend/src/main/resources/index.html artifact/index.html
- name: Upload artifact
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ lazy val backend = (project in file("modules/backend"))
"org.scalatest" %% "scalatest" % scalaTestVersion % Test,
"org.typelevel" %% "cats-effect-testing-scalatest" % catsEffectTestingVersion % Test
),
scalaJSProjects := Seq(frontend), // frontend),
scalaJSProjects := Seq(frontend),
exportJars := true,
resolvers ++= Resolver.sonatypeOssRepos("snapshots"),
resolvers += Resolver.bintrayRepo("hseeberger", "maven"),
Expand Down
5 changes: 2 additions & 3 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.15.0")
addSbtPlugin("com.typesafe.sbt" % "sbt-native-packager" % "1.7.5")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16")
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.15.0")
addSbtPlugin("com.vmunier" % "sbt-web-scalajs" % "1.3.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.2.0")
addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2")
addSbtPlugin("ch.epfl.scala" % "sbt-scalajs-bundler" % "0.21.1")
addSbtPlugin("ch.epfl.scala" % "sbt-web-scalajs-bundler" % "0.21.1")
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6")

0 comments on commit 0a17c31

Please sign in to comment.