From a34157844e2128d100e9ba5e86e827b3d0f77866 Mon Sep 17 00:00:00 2001 From: Jakob Odersky Date: Mon, 23 Sep 2019 01:01:17 -0400 Subject: test --- build.sc | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/build.sc b/build.sc index 8716e9b..f9ed49c 100644 --- a/build.sc +++ b/build.sc @@ -1,7 +1,11 @@ import mill._, scalalib._, scalafmt._, scalalib.publish._ object commando extends ScalaModule with ScalafmtModule with PublishModule { - override def scalaVersion = "2.13.1" + //def scalaVersion = T.input { + //scala.sys.props.toMap.getOrElse("scala.version", "2.13.1").call() + //} + + def scalaVersion = "2.13.1" object test extends Tests { def ivyDeps = Agg( @@ -10,7 +14,7 @@ object commando extends ScalaModule with ScalafmtModule with PublishModule { def testFrameworks = Seq("utest.runner.Framework") } - def publishVersion = os.proc("git", "describe", "--match=v*").call().out.trim.tail + def publishVersion = T.input{os.proc("git", "describe", "--dirty", "--match=v*").call().out.trim.tail} def pomSettings = PomSettings( description = "Simple command line parsing.", organization = "io.crashbox", -- cgit v1.2.3