Skip to content

Instantly share code, notes, and snippets.

@joan38
Created August 26, 2018 22:01
Show Gist options
  • Select an option

  • Save joan38/0c46801939b7b9d91cf0c88759edbfd5 to your computer and use it in GitHub Desktop.

Select an option

Save joan38/0c46801939b7b9d91cf0c88759edbfd5 to your computer and use it in GitHub Desktop.
dir("subDir") { implicit workDir =>
// Creating subDir/myFile
LocalFile("myFile").createNewFile()
dir("subDir2") { implicit workDir =>
// Creating subDir/subDir2/myFile
LocalFile("myFile").createNewFile()
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment