diff options
Diffstat (limited to 'scalalib/test/resources/hello-world/src/Main.scala')
-rw-r--r-- | scalalib/test/resources/hello-world/src/Main.scala | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/scalalib/test/resources/hello-world/src/Main.scala b/scalalib/test/resources/hello-world/src/Main.scala deleted file mode 100644 index 14139d6f..00000000 --- a/scalalib/test/resources/hello-world/src/Main.scala +++ /dev/null @@ -1,12 +0,0 @@ -import scala.collection._ // unused import to check unused imports warning -import java.nio.file.{Files, Paths} - -object Main extends App { - - val person = Person.fromString("rockjam:25") - val greeting = s"hello ${person.name}, your age is: ${person.age}" - println(greeting) - val resultPath = Paths.get(args(0)) - Files.createDirectories(resultPath.getParent) - Files.write(resultPath, greeting.getBytes) -} |