Skip to content

Instantly share code, notes, and snippets.

@rikwatson
Created February 25, 2015 08:44
Show Gist options
  • Save rikwatson/eef871fa3db3ddcff4fe to your computer and use it in GitHub Desktop.
Save rikwatson/eef871fa3db3ddcff4fe to your computer and use it in GitHub Desktop.
An example of using the psake DSL within PowerShell
Task default -Depends Build
Task Build -Depends Init,Clean,Compile {
"build"
}
Task Compile -Depends Init,Clean {
"compile"
}
Task Clean -Depends Init {
"clean"
}
Task Init {
"init"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment