-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.sbt
More file actions
35 lines (30 loc) · 1.06 KB
/
build.sbt
File metadata and controls
35 lines (30 loc) · 1.06 KB
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
import com.ossuminc.sbt.OssumIncPlugin
import com.ossuminc.sbt.helpers.RootProjectInfo.Keys.{
gitHubOrganization,
gitHubRepository
}
Global / onChangedBuildSource := ReloadOnSourceChanges
enablePlugins(OssumIncPlugin)
lazy val `riddl-hugo` =
Root(
"riddl-hugo",
"ossuminc",
"com.ossuminc.hugo",
"Ossum, Inc.",
startYr = 2024
).configure(With.noPublishing, With.git, With.dynver)
.aggregate(diagrams, hugo)
lazy val hugo: Project = Module("hugo", "riddl-hugo")
.configure(With.typical, With.coverage(50), With.publishing, With.scalafmt)
.settings(
description := "The hugo command turns a RIDDL AST into source input for hugo static site generator",
Compile / unmanagedResourceDirectories += {
baseDirectory.value / "resources"
},
Test / parallelExecution := false,
libraryDependencies ++= Deps.pureconfig ++ Deps.riddl
)
.dependsOn(diagrams)
lazy val diagrams = Module("diagrams", "riddl-hugo-diagrams")
.configure(With.typical, With.coverage(90.0), With.publishing)
.settings(libraryDependencies ++= Deps.riddl)