Created
December 15, 2017 12:50
-
-
Save pepicrft/730cfbd87c4460debbfa100e61bd3563 to your computer and use it in GitHub Desktop.
This file contains 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
// Sakefile | |
import SakefileDescription | |
import SakefileUtils | |
enum Task: String, CustomStringConvertible { | |
case build | |
var description: String { | |
switch self { | |
case .build: | |
return "Builds the project" | |
} | |
} | |
} | |
Sake<Task> { | |
$0.task(.build) { (utils) in | |
// Here is where you define your build task | |
} | |
}.run() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment