summaryrefslogtreecommitdiff
path: root/docs/example-1
diff options
context:
space:
mode:
Diffstat (limited to 'docs/example-1')
-rw-r--r--docs/example-1/build.sc6
-rw-r--r--docs/example-1/foo/src/foo/Example.scala6
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