Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
// 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