Skip to content

Commit be11a0c

Browse files
authored
Merge pull request #11 from combinators/inbetween_cleanup
Update build.sbt to publish languages and cogen
2 parents 1e5f811 + 075efd3 commit be11a0c

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/test_and_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ jobs:
3535
export GPG_TTY=$(tty) &&
3636
echo $PGP_SECRET | base64 -d | gpg --passphrase=$PGP_PASSPHRASE --yes --batch --pinentry-mode loopback --import &&
3737
export PATH=`pwd`/.github/bin:$PATH &&
38-
sbt cogen/ciReleaseTagNextVersion cogen/ciReleaseSonatype
38+
sbt ciReleaseTagNextVersion ciReleaseSonatype

build.sbt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,15 @@ lazy val cogen = (Project(id = "cogen", base = file("cogen")))
6868
*/
6969
lazy val core = (Project(id = "core", base = file("core")))
7070
.settings(commonSettings: _*)
71+
.settings(noPublishSettings: _*)
7172
.settings(
7273
moduleName := "expression-problem-core",
7374
)
7475
.dependsOn(cogen)
7576

7677
lazy val approach = (Project(id = "approach", base = file("approach")))
7778
.settings(commonSettings: _*)
79+
.settings(noPublishSettings: _*)
7880
.settings(
7981
moduleName := "expression-problem-approach",
8082
)
@@ -87,6 +89,7 @@ lazy val approach = (Project(id = "approach", base = file("approach")))
8789
def standardDomainProject(domainName: String): Project =
8890
(Project(id = s"domain-$domainName", base = file(s"domain/$domainName")))
8991
.settings(commonSettings: _*)
92+
.settings(noPublishSettings: _*)
9093
.settings(
9194
moduleName := s"expression-problem-domain-$domainName"
9295
)
@@ -106,15 +109,17 @@ def standardLanguageProject(languageName: String): Project =
106109
.settings(
107110
moduleName := s"expression-problem-language-$languageName",
108111
)
112+
.settings(publishSettings: _*)
109113
.dependsOn(cogen)
110114

111115
lazy val languageJava =
112116
standardLanguageProject("java")
113-
.settings(libraryDependencies += "com.github.javaparser" % "javaparser-core" % "3.26.4")
117+
.settings(libraryDependencies += "com.github.javaparser" % "javaparser-core" % "3.26.4")
114118

115119
lazy val helloWorldProject: Project =
116120
(Project(id = s"helloWorld", base = file(s"helloworld")))
117121
.settings(commonSettings: _*)
122+
.settings(noPublishSettings: _*)
118123
.settings(
119124
moduleName := s"expression-problem-language-helloworld",
120125
)
@@ -130,6 +135,7 @@ lazy val languageNewScala =
130135
lazy val builder =
131136
(Project(id = s"builder", base = file(s"builder")))
132137
.settings(commonSettings: _*)
138+
.settings(noPublishSettings: _*)
133139
.settings(
134140
moduleName := s"expression-problem-language-builder",
135141
)

0 commit comments

Comments
 (0)