diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-17 13:11:36 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-17 13:12:40 -0800 |
commit | 75a45f9163034ca9ba126cf07b3f87f3f24b1249 (patch) | |
tree | 463d82ba1ab192699017a6294883d5fbbad2e0e4 /scalalib/test/resources/hello-world-no-main/core/src-2.10 | |
parent | 865045540bd80bebb1655005abf32bc089c33895 (diff) | |
download | mill-75a45f9163034ca9ba126cf07b3f87f3f24b1249.tar.gz mill-75a45f9163034ca9ba126cf07b3f87f3f24b1249.tar.bz2 mill-75a45f9163034ca9ba126cf07b3f87f3f24b1249.zip |
Add unit test for main method discovery
Diffstat (limited to 'scalalib/test/resources/hello-world-no-main/core/src-2.10')
-rw-r--r-- | scalalib/test/resources/hello-world-no-main/core/src-2.10/Shim.scala | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scalalib/test/resources/hello-world-no-main/core/src-2.10/Shim.scala b/scalalib/test/resources/hello-world-no-main/core/src-2.10/Shim.scala new file mode 100644 index 00000000..025cff5c --- /dev/null +++ b/scalalib/test/resources/hello-world-no-main/core/src-2.10/Shim.scala @@ -0,0 +1,5 @@ +object Shim{ + def main(args: Array[String]): Unit = { + Main0(args(0), scala.util.Properties.versionNumberString + " rox") + } +}
\ No newline at end of file |