aboutsummaryrefslogtreecommitdiff
path: root/build.sc
blob: 8716e9bc952fe45329f2a6468b6579c168740a9b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
import mill._, scalalib._, scalafmt._, scalalib.publish._

object commando extends ScalaModule with ScalafmtModule with PublishModule {
  override def scalaVersion = "2.13.1"

  object test extends Tests {
    def ivyDeps = Agg(
      ivy"com.lihaoyi::utest:0.7.1"
    )
    def testFrameworks = Seq("utest.runner.Framework")
  }

  def publishVersion = os.proc("git", "describe", "--match=v*").call().out.trim.tail
  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")
    )
  )

}