Skip to content

Commit

Permalink
Add core as subproject
Browse files Browse the repository at this point in the history
  • Loading branch information
romac committed Jan 29, 2024
1 parent 36ffecb commit dadeaec
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
run: sbt '++ ${{ matrix.scala }}' test

- name: Compress target directories
run: tar cf targets.tar target examples/target project/target
run: tar cf targets.tar target core/target examples/target project/target

- name: Upload target directories
uses: actions/upload-artifact@v4
Expand Down
6 changes: 5 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ ThisBuild / scalacOptions ++= Seq("-source", "3.3")

lazy val root = project
.in(file("."))
.aggregate(core, examples)

lazy val core = project
.in(file("core"))
.settings(
name := "choreo",
libraryDependencies ++= Seq(
Expand All @@ -29,7 +33,7 @@ lazy val examples = project
"org.typelevel" %% "cats-effect" % Versions.catsEffect
)
)
.dependsOn(root)
.dependsOn(core)

val PrimaryJava = JavaSpec.temurin("8")
val LTSJava = JavaSpec.temurin("17")
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit dadeaec

Please sign in to comment.