Search code examples
powershellpsake

Setting up PSake


Does anybody know or have a link to how I set up psake to run through powershell?

I have absolutely no idea and I can find nothing to tell me.


Solution

  • Download it from here. Here are some examples of its use:

    http://ayende.com/Blog/archive/2009/08/30/on-psake.aspx http://www.jameskovacs.com/blog/IntroducingPsake.aspx

    The 2.0 version of PSake is a PowerShell module which requires PowerShell 2.0. Extract the contents of the PSake ZIP into $env:Home\Documents\WindowsPowerShell\Modules\PSake. Then you import it like so:

    Import-Module PSake
    

    Define a "properties" hashtable and then start using its exported commands like Task in your build scripts.