From f756d185b3776a30e4380883896aafa3d6a51b48 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Sun, 22 Sep 2019 14:57:15 -0400 Subject: Add publishing information --- build.sc | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/build.sc b/build.sc index 86bd442..963506b 100644 --- a/build.sc +++ b/build.sc @@ -1,6 +1,6 @@ -import mill._, scalalib._, scalafmt._ +import mill._, scalalib._, scalafmt._, scalalib.publish._ -object commando extends ScalaModule with ScalafmtModule { +object commando extends ScalaModule with ScalafmtModule with PublishModule { override def scalaVersion = "2.13.1" object test extends Tests { @@ -10,4 +10,16 @@ object commando extends ScalaModule with ScalafmtModule { def testFrameworks = Seq("utest.runner.Framework") } + def publishVersion = "0.2.0" + def pomSettings = PomSettings( + description = "Simple command line parsing.", + organization = "io.crashbox", + url = "https://github.com/jodersky/commando", + licenses = Seq(License.`BSD-3-Clause`), + versionControl = VersionControl.github("jodersky", "commando"), + developers = Seq( + Developer("jodersky", "Jakob Odersky","https://github.com/jodersky") + ) + ) + } -- cgit v1.2.3