-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
76 lines (65 loc) · 1.24 KB
/
build.sbt
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
val scala3Version = "3.3.0"
inThisBuild(
List(
version := "1.0.0",
scalaVersion := scala3Version,
scalafmtOnCompile := true
)
)
lazy val root = project
.in(file("."))
.aggregate(shared, d1)
.settings(
name := "Advent of Code 2024",
commands += HelpCommand.manual
)
lazy val scaffolding = project
.in(file("scaffolding"))
.dependsOn(shared)
.settings(name := "Scaffolding")
lazy val shared = project
.in(file("shared"))
.settings(
name := "Shared"
)
lazy val d1 = project
.in(file("d1"))
.dependsOn(shared)
.settings(
name := "Day 1"
)
lazy val d2 = project
.in(file("d2"))
.dependsOn(shared)
.settings(
name := "Day 2"
)
lazy val d3 = project
.in(file("d3"))
.dependsOn(shared)
.settings(
name := "Day 3"
)
lazy val d4 = project
.in(file("d4"))
.dependsOn(shared)
.settings(
name := "Day 4"
)
lazy val d5 = project
.in(file("d5"))
.dependsOn(shared)
.settings(
name := "Day 5"
)
lazy val d6 = project
.in(file("d6"))
.dependsOn(shared)
.settings(
name := "Day 6"
)
addCommandAlias("cd", "project")
addCommandAlias("ls", "projects")
addCommandAlias("c", "compile")
addCommandAlias("rel", "reload")
addCommandAlias("r", "run")