diff options
author | Jakob Odersky <jakob@odersky.com> | 2019-09-23 01:01:17 -0400 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2019-09-23 01:01:17 -0400 |
commit | a34157844e2128d100e9ba5e86e827b3d0f77866 (patch) | |
tree | 0bf3f5a96bcf8670f9dde00aefe742aa0f623fc4 | |
parent | 9601b8fb6aafaeb678ff7c390c26113d97d41c60 (diff) | |
download | commando-a34157844e2128d100e9ba5e86e827b3d0f77866.tar.gz commando-a34157844e2128d100e9ba5e86e827b3d0f77866.tar.bz2 commando-a34157844e2128d100e9ba5e86e827b3d0f77866.zip |
test
-rw-r--r-- | build.sc | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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", |