Skip to content

Add cask to community build #11659

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

Closed
wants to merge 1 commit into from
Closed
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
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -187,3 +187,6 @@
[submodule "community-build/community-projects/protoquill"]
path = community-build/community-projects/protoquill
url = https://github.com/dotty-staging/protoquill.git
[submodule "community-build/community-projects/cask"]
path = community-build/community-projects/cask
url = https://github.com/dotty-staging/cask.git
1 change: 1 addition & 0 deletions community-build/community-projects/cask
Submodule cask added at 742ea2
7 changes: 7 additions & 0 deletions community-build/src/scala/dotty/communitybuild/projects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ object projects:
dependencies = List(geny, utest, ujson, upickleCore)
)

lazy val cask = MillCommunityProject(
project = "cask",
baseCommand = s"cask[$compilerVersion]",
dependencies = List(utest, upickle, sourcecode, pprint, geny)
)

lazy val scas = MillCommunityProject(
project = "scas",
baseCommand = "scas.application"
Expand Down Expand Up @@ -680,6 +686,7 @@ def allProjects = List(
projects.perspective,
projects.akka,
projects.protoquill,
projects.cask
)

lazy val projectMap = allProjects.groupBy(_.project)
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ end CommunityBuildTest
@Category(Array(classOf[TestCategory]))
class CommunityBuildTestA extends CommunityBuildTest:
@Test def akka = projects.akka.run()
@Test def cask = projects.cask.run()
@Test def endpoints4s = projects.endpoints4s.run()
@Test def fansi = projects.fansi.run()
@Test def fastparse = projects.fastparse.run()
Expand Down