44 lines
1.1 KiB
Scala
44 lines
1.1 KiB
Scala
import mill._
|
|
import mill.scalalib._
|
|
import mill.scalalib.publish._
|
|
|
|
object astral extends Module {
|
|
def scalaVersion = "3.2.1"
|
|
|
|
object compiler extends ScalaModule with PublishModule {
|
|
val VERSION = "0.0.1-SNAPSHOT"
|
|
|
|
def scalaVersion = astral.scalaVersion
|
|
|
|
def mainClass = Some("com.astraldb.Astral")
|
|
|
|
/*************************************************
|
|
*** Backend Dependencies
|
|
*************************************************/
|
|
// def ivyDeps = Agg(
|
|
// )
|
|
|
|
def publishVersion = VERSION
|
|
override def pomSettings = PomSettings(
|
|
description = "The Astral Compiler Compiler",
|
|
organization = "com.astraldb",
|
|
url = "http://astraldb.com",
|
|
licenses = Seq(License.`Apache-2.0`),
|
|
versionControl = VersionControl.github("UBOdin", "astral"),
|
|
developers = Seq(
|
|
Developer("okennedy", "Oliver Kennedy", "https://odin.cse.buffalo.edu"),
|
|
)
|
|
)
|
|
}
|
|
|
|
object catalyst extends ScalaModule
|
|
{
|
|
def scalaVersion = astral.scalaVersion
|
|
|
|
def mainClass = Some("com.astraldb.catalyst.Astral")
|
|
|
|
def moduleDeps = Seq(astral.compiler)
|
|
}
|
|
}
|
|
|