1
1
import com .ossuminc .sbt .OssumIncPlugin
2
- import com .ossuminc .sbt .helpers .Publishing
3
2
import com .ossuminc .sbt .helpers .RootProjectInfo .Keys .{
4
3
gitHubOrganization ,
5
4
gitHubRepository
@@ -9,25 +8,18 @@ Global / onChangedBuildSource := ReloadOnSourceChanges
9
8
10
9
enablePlugins(OssumIncPlugin )
11
10
12
- lazy val devs = List (
13
- Developer (
14
- " reid-spencer" ,
15
- " Reid Spencer" ,
16
-
17
- url(" https://github.com/reid-spencer" )
18
- )
19
- )
20
- lazy val root =
21
- Root (" root" , " hugo" , startYr = 2024 , devs = devs)
22
- .configure(Publishing .configure, With .git, With .dynver)
23
- .settings(
24
- ThisBuild / gitHubRepository := " riddl-hugo" ,
25
- ThisBuild / gitHubOrganization := " ossuminc" ,
26
- )
11
+ lazy val `riddl-hugo` =
12
+ Root (
13
+ " riddl-hugo" ,
14
+ " ossuminc" ,
15
+ " com.ossuminc.hugo" ,
16
+ " Ossum, Inc." ,
17
+ startYr = 2024
18
+ ).configure(With .noPublishing, With .git, With .dynver)
27
19
.aggregate(diagrams, hugo)
28
20
29
21
lazy val hugo : Project = Module (" hugo" , " riddl-hugo" )
30
- .configure(With .typical, With .coverage(50 ))
22
+ .configure(With .typical, With .coverage(50 ), With .publishing, With .scalafmt )
31
23
.settings(
32
24
description := " The hugo command turns a RIDDL AST into source input for hugo static site generator" ,
33
25
Compile / unmanagedResourceDirectories += {
@@ -39,5 +31,5 @@ lazy val hugo: Project = Module("hugo", "riddl-hugo")
39
31
.dependsOn(diagrams)
40
32
41
33
lazy val diagrams = Module (" diagrams" , " riddl-hugo-diagrams" )
42
- .configure(With .typical, With .coverage(90.0 ))
34
+ .configure(With .typical, With .coverage(90.0 ), With .publishing )
43
35
.settings(libraryDependencies ++= Deps .riddl)
0 commit comments