diff options
author | Pierre Kisters <LolHens@users.noreply.github.com> | 2018-03-30 02:52:52 +0200 |
---|---|---|
committer | Robby <robby@santoslab.org> | 2018-03-29 19:52:52 -0500 |
commit | 107994fec59d0b4d48540c7fbb36e781e07e82d4 (patch) | |
tree | 74ecbbdd993dca96a24102fa88dd0258d29f0993 /scalalib/src | |
parent | 41ca6c22894e863f5042cd8f49f5c3c6d52acc23 (diff) | |
download | mill-107994fec59d0b4d48540c7fbb36e781e07e82d4.tar.gz mill-107994fec59d0b4d48540c7fbb36e781e07e82d4.tar.bz2 mill-107994fec59d0b4d48540c7fbb36e781e07e82d4.zip |
Universal script generation for assembly, launcher, and release (#264)
Diffstat (limited to 'scalalib/src')
-rw-r--r-- | scalalib/src/mill/scalalib/ScalaModule.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/scalalib/src/mill/scalalib/ScalaModule.scala b/scalalib/src/mill/scalalib/ScalaModule.scala index dc39a4a8..33905a7e 100644 --- a/scalalib/src/mill/scalalib/ScalaModule.scala +++ b/scalalib/src/mill/scalalib/ScalaModule.scala @@ -136,10 +136,9 @@ trait ScalaModule extends mill.Module with TaskModule { outer => case None => "" case Some(cls) => val isWin = scala.util.Properties.isWin - mill.modules.Jvm.launcherShellScript( - isWin, + mill.modules.Jvm.launcherUniversalScript( cls, - Agg(if (isWin) "%~dp0%~nx0" else "$0"), + Agg("$0"), Agg("%~dpnx0"), forkArgs() ) } |