Skip to content

Commit

Permalink
0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lihaoyi committed Oct 20, 2018
1 parent c30a0e7 commit c948427
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ optimizer without classpath conflicts.

## Changelog

### 0.3.1
### 0.3.2

- Automatically detect main class to make `ScalaModule#assembly` self-executable

Expand Down
2 changes: 1 addition & 1 deletion scalalib/src/mill/scalalib/JavaModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ trait JavaModule extends mill.Module with TaskModule { outer =>
* OS-X and Linux
*/
def prependShellScript: T[String] = T{
mainClass() match{
finalMainClassOpt().toOption match{
case None => ""
case Some(cls) =>
val isWin = scala.util.Properties.isWin
Expand Down

0 comments on commit c948427

Please sign in to comment.