Skip to content

Add 'Sciss/Lucre' to Community Build #10686

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -141,3 +141,36 @@
[submodule "community-build/community-projects/coop"]
path = community-build/community-projects/coop
url = https://github.com/dotty-staging/coop.git
[submodule "community-build/community-projects/AsyncFile"]
path = community-build/community-projects/AsyncFile
url = https://github.com/dotty-staging/AsyncFile.git
[submodule "community-build/community-projects/Equal"]
path = community-build/community-projects/Equal
url = https://github.com/dotty-staging/Equal.git
[submodule "community-build/community-projects/FingerTree"]
path = community-build/community-projects/FingerTree
url = https://github.com/dotty-staging/FingerTree.git
[submodule "community-build/community-projects/Log"]
path = community-build/community-projects/Log
url = https://github.com/dotty-staging/Log.git
[submodule "community-build/community-projects/Model"]
path = community-build/community-projects/Model
url = https://github.com/dotty-staging/Model.git
[submodule "community-build/community-projects/Numbers"]
path = community-build/community-projects/Numbers
url = https://github.com/dotty-staging/Numbers.git
[submodule "community-build/community-projects/Serial"]
path = community-build/community-projects/Serial
url = https://github.com/dotty-staging/Serial.git
[submodule "community-build/community-projects/Span"]
path = community-build/community-projects/Span
url = https://github.com/dotty-staging/Span.git
[submodule "community-build/community-projects/Lucre"]
path = community-build/community-projects/Lucre
url = https://github.com/dotty-staging/Lucre.git
[submodule "community-build/community-projects/scala-stm"]
path = community-build/community-projects/scala-stm
url = https://github.com/dotty-staging/scala-stm.git
[submodule "community-build/community-projects/scalatestplus-junit"]
path = community-build/community-projects/scalatestplus-junit
url = https://github.com/dotty-staging/scalatestplus-junit.git
1 change: 1 addition & 0 deletions community-build/community-projects/AsyncFile
Submodule AsyncFile added at fe3356
1 change: 1 addition & 0 deletions community-build/community-projects/Equal
Submodule Equal added at f42b05
1 change: 1 addition & 0 deletions community-build/community-projects/FingerTree
Submodule FingerTree added at 42b27e
1 change: 1 addition & 0 deletions community-build/community-projects/Log
Submodule Log added at 02b59d
1 change: 1 addition & 0 deletions community-build/community-projects/Lucre
Submodule Lucre added at b56954
1 change: 1 addition & 0 deletions community-build/community-projects/Model
Submodule Model added at 0704fa
1 change: 1 addition & 0 deletions community-build/community-projects/Numbers
Submodule Numbers added at 971a67
1 change: 1 addition & 0 deletions community-build/community-projects/Serial
Submodule Serial added at 0a3a39
1 change: 1 addition & 0 deletions community-build/community-projects/Span
Submodule Span added at 867459
1 change: 1 addition & 0 deletions community-build/community-projects/scala-stm
Submodule scala-stm added at e25579
1 change: 1 addition & 0 deletions community-build/community-projects/scalatestplus-junit
Submodule scalatestplus-junit added at 385701
79 changes: 79 additions & 0 deletions community-build/src/scala/dotty/communitybuild/projects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -291,6 +291,13 @@ object projects:
dependencies = List(scalatest, scalacheck)
)

lazy val scalatestplusJunit = SbtCommunityProject(
project = "scalatestplus-junit",
sbtTestCommand = "scalatestplus-junit/test",
sbtPublishCommand = "scalatestplus-junit/publishLocal",
dependencies = List(scalatest)
)

lazy val scalaXml = SbtCommunityProject(
project = "scala-xml",
sbtTestCommand = "xml/test",
Expand Down Expand Up @@ -535,6 +542,78 @@ object projects:
dependencies = List(cats, catsMtl)
)

// 'Sciss/Lucre' with its dependencies:

lazy val scissEqual = SbtCommunityProject(
project = "Equal",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
dependencies = List(scalatest),
)

lazy val scissFingerTree = SbtCommunityProject(
project = "FingerTree",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
dependencies = List(scalatest),
)

lazy val scissLog = SbtCommunityProject(
project = "Log",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
)

lazy val scissModel = SbtCommunityProject(
project = "Model",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
dependencies = List(scalatest),
)

lazy val scissNumbers = SbtCommunityProject(
project = "Numbers",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
dependencies = List(scalatest),
)

lazy val scissSerial = SbtCommunityProject(
project = "Serial",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
dependencies = List(scalatest),
)

lazy val scissAsyncFile = SbtCommunityProject(
project = "AsyncFile",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
dependencies = List(scissLog, scalatest),
)

lazy val scissSpan = SbtCommunityProject(
project = "Span",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
dependencies = List(scissSerial, scalatest),
)

lazy val scalaSTM = SbtCommunityProject(
project = "scala-stm",
sbtTestCommand = "rootJVM/test",
sbtPublishCommand = "rootJVM/publishLocal",
dependencies = List(scalatestplusJunit),
)

lazy val scissLucre = SbtCommunityProject(
project = "Lucre",
sbtTestCommand = "adjunctJVM/test;baseJVM/test;confluentJVM/test;coreJVM/test;dataJVM/test;expr0JVM/test;expr1JVM/test;exprJVM/test;geomJVM/test;lucre-bdb/test;testsJVM/test",
extraSbtArgs = List("-Dde.sciss.lucre.ShortTests=true"),
sbtPublishCommand = "adjunctJVM/publishLocal;baseJVM/publishLocal;confluentJVM/publishLocal;coreJVM/publishLocal;dataJVM/publishLocal;expr0JVM/publishLocal;expr1JVM/publishLocal;exprJVM/publishLocal;geomJVM/publishLocal;lucre-bdb/publishLocal",
dependencies = List(scalaSTM, scissAsyncFile, scissEqual, scissFingerTree, scissLog, scissModel, scissNumbers, scissSerial, scissSpan, scalatest),
)

end projects

def allProjects = projects.fields.of[CommunityProject].sortBy(_.project)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,19 @@ class CommunityBuildTestA extends CommunityBuildTest:
@Test def upickle = projects.upickle.run()
@Test def utest = projects.utest.run()
@Test def zio = projects.zio.run()

// 'scala-stm' and 'Sciss/Lucre':
// @Test def scissEqual = projects.scissEqual .run()
// @Test def scissFingerTree = projects.scissFingerTree.run()
// @Test def scissLog = projects.scissLog .run()
// @Test def scissModel = projects.scissModel .run()
// @Test def scissNumbers = projects.scissNumbers .run()
// @Test def scissSerial = projects.scissSerial .run()
// @Test def scissAsyncFile = projects.scissAsyncFile .run()
// @Test def scissSpan = projects.scissSpan .run()
@Test def scalaSTM = projects.scalaSTM .run()
@Test def scissLucre = projects.scissLucre .run()

end CommunityBuildTestA

@Category(Array(classOf[TestCategory]))
Expand Down Expand Up @@ -134,6 +147,7 @@ class CommunityBuildTestB extends CommunityBuildTest:
@Test def simulacrumScalafixAnnotations = projects.simulacrumScalafixAnnotations.run()
@Test def verify = projects.verify.run()
@Test def xmlInterpolator = projects.xmlInterpolator.run()

end CommunityBuildTestB

class TestCategory