-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuilder.toml
32 lines (25 loc) · 907 Bytes
/
builder.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# This project is mostly derived from https://github.com/bishabosha/scala3-full-stack-example/tree/for-api-video
scalaVersion = "3.2.2"
[modules.model]
platforms = ["jvm", "scala-js"]
[modules.webpage-dom]
platforms = ["scala-js"]
[modules.webpage-client]
platforms = ["scala-js"]
dependsOn = ["model"] # should smartly chose the scala-js dep
[modules.webpage]
platforms = ["scala-js"]
kind = "application"
mainClass = "example.start"
dependsOn = ["webpage-dom", "webpage-client"] # should smartly chose the scala-js dep
[modules.cask-extensions]
[modules.webserver-repo]
dependsOn = ["model"]
[modules.webserver]
kind = "application"
mainClass = "example.WebServer"
dependsOn = ["webserver-repo", "cask-extensions"] # should smartly chose the jvm dep
resourceGenerators = [
# depending on a js application module should select its linked output
{ module = "webpage", dest = "assets/main.js" }
]