aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2019-09-23 01:01:17 -0400
committerJakob Odersky <jakob@odersky.com>2019-09-23 01:01:17 -0400
commita34157844e2128d100e9ba5e86e827b3d0f77866 (patch)
tree0bf3f5a96bcf8670f9dde00aefe742aa0f623fc4
parent9601b8fb6aafaeb678ff7c390c26113d97d41c60 (diff)
downloadcommando-a34157844e2128d100e9ba5e86e827b3d0f77866.tar.gz
commando-a34157844e2128d100e9ba5e86e827b3d0f77866.tar.bz2
commando-a34157844e2128d100e9ba5e86e827b3d0f77866.zip
test
-rw-r--r--build.sc8
1 files 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",