aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2019-09-22 14:57:15 -0400
committerJakob Odersky <jakob@odersky.com>2019-09-22 14:59:47 -0400
commitf756d185b3776a30e4380883896aafa3d6a51b48 (patch)
treec591b25c523f6a6f69852fe204d7f6b9a6a972c3
parenta2fc5624dcc596027b264233a34e2e4163926605 (diff)
downloadcommando-2.tar.gz
commando-2.tar.bz2
commando-2.zip
Add publishing information2
-rw-r--r--build.sc16
1 files 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")
+ )
+ )
+
}