From 92edcae5094e52783f825021e4172a6b072300e0 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sat, 17 Feb 2018 11:50:20 -0800 Subject: Include example zips in docs --- docs/example-1/build.sc | 6 ++++++ docs/example-1/foo/src/foo/Example.scala | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 docs/example-1/build.sc create mode 100644 docs/example-1/foo/src/foo/Example.scala (limited to 'docs/example-1') 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 -- cgit v1.2.3