This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| object Orkestra extends OrkestraServer with GithubHooks with CronTriggers { | |
| lazy val board = Folder("Orkestra")( | |
| PullRequestChecks.board, | |
| CreateEnvironment.board, | |
| PublishBackend.board, | |
| DeployBackend.board, | |
| PublishAndDeploy.board, | |
| CopyData.board | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Keybase proof | |
| I hereby claim: | |
| * I am joan38 on github. | |
| * I am joan38 (https://keybase.io/joan38) on keybase. | |
| * I have a public key whose fingerprint is AC07 BB8E 6885 2EE0 39A9 496D 9FEF A36C 4AF3 609A | |
| To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dir("subDir") { implicit workDir => | |
| // Creating subDir/myFile | |
| LocalFile("myFile").createNewFile() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def dir[Result](path: String)(func: Directory => Result)(implicit parentDir: Directory): Result = ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dir("subDir") { implicit workDir => | |
| // Creating subDir/myFile | |
| LocalFile("myFile").createNewFile() | |
| dir("subDir2") { implicit workDir => | |
| // Creating subDir/subDir2/myFile | |
| LocalFile("myFile").createNewFile() | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def dir[Result](path: String)(func: implicit Directory => Result)(implicit parentDir: Directory): Result = ... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| dir("subDir") { | |
| LocalFile("myFile").createNewFile() | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| trait Encoder[T] { | |
| def apply(o: T): String | |
| } | |
| object Encoder { | |
| implicit val intEncoder: Encoder[Int] = _.toString | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| implicitly[Encoder[Int]](2) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def implicitly[T](implicit e: T) = e |