diff options
author | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-17 11:50:20 -0800 |
---|---|---|
committer | Li Haoyi <haoyi.sg@gmail.com> | 2018-02-17 11:53:07 -0800 |
commit | 92edcae5094e52783f825021e4172a6b072300e0 (patch) | |
tree | 8da5d9e01a9703601ef13c8ee5478501251b6836 /docs/example-1 | |
parent | 650ab9c937159cd31721e576f7174c8167f19a70 (diff) | |
download | mill-92edcae5094e52783f825021e4172a6b072300e0.tar.gz mill-92edcae5094e52783f825021e4172a6b072300e0.tar.bz2 mill-92edcae5094e52783f825021e4172a6b072300e0.zip |
Include example zips in docs
Diffstat (limited to 'docs/example-1')
-rw-r--r-- | docs/example-1/build.sc | 6 | ||||
-rw-r--r-- | docs/example-1/foo/src/foo/Example.scala | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/docs/example-1/build.sc b/docs/example-1/build.sc new file mode 100644 index 00000000..fa3b5d29 --- /dev/null +++ b/docs/example-1/build.sc @@ -0,0 +1,6 @@ +// build.sc +import mill._, scalalib._ + +object foo extends ScalaModule{ + def scalaVersion = "2.12.4" +}
\ No newline at end of file diff --git a/docs/example-1/foo/src/foo/Example.scala b/docs/example-1/foo/src/foo/Example.scala new file mode 100644 index 00000000..f84f91f9 --- /dev/null +++ b/docs/example-1/foo/src/foo/Example.scala @@ -0,0 +1,6 @@ +package foo +object Example{ + def main(args: Array[String]): Unit = { + println("Hello World") + } +}
\ No newline at end of file |