A build automation tool... now with less XML...
PowerShell
Pull request Compare This branch is 170 commits behind psake:master.
Permalink
Failed to load latest commit information.
en-US Added RequiredVariables argument to Task function Oct 23, 2011
examples Added RequiredVariables argument to Task function Oct 23, 2011
images Moved psake-ps2 changes from master to psake-ps2 branch. Oct 3, 2009
nuget
specs Fixed missing default task in task_with_alias_should_pass.ps1 Sep 26, 2012
tabexpansion
.gitattributes
.gitignore adding another file type to ignore Apr 22, 2011
NuGet.exe
NuGetPackageBuilder.ps1
README.markdown
license.txt Extracted license.txt and updated copyright date Oct 9, 2012
psake-buildTester.ps1 Adding ability to use a scriptblock when initializing an invoke-psake… May 7, 2012
psake-config.ps1 Defaulted psake to .NET 4.0 Mar 21, 2012
psake.cmd
psake.ps1 Adding ability to use a scriptblock when initializing an invoke-psake… May 7, 2012
psake.psm1 Extracted license.txt and updated copyright date Oct 9, 2012

README.markdown

Welcome to the psake project.

psake is a build automation tool written in PowerShell. It avoids the angle-bracket tax associated with executable XML by leveraging the PowerShell syntax in your build scripts. psake has a syntax inspired by rake (aka make in Ruby) and bake (aka make in Boo), but is easier to script because it leverages your existent command-line knowledge.

psake is pronounced sake – as in Japanese rice wine. It does NOT rhyme with make, bake, or rake.

How to get started:

Step 1: Download and extract the project

You will need to "unblock" the zip file before extracting - PowerShell by default does not run files downloaded from the internet. Just right-click the zip and click on "properties" and click on the "unblock" button.

Step 2: CD into the directory where you extracted the project (where the psake.psm1 file is)

Import-Module .\psake.psm1

If you encounter the following error "Import-Module : ...psake.psm1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details.

  1. Run PowerShell as administrator
  2. Set-ExecutionPolicy RemoteSigned

Get-Help Invoke-psake -Full

  • this will show you help and examples of how to use psake

Step 3: Run some examples

CD .\examples

Invoke-psake

  • This will execute the "default" task in the "default.ps1"

Invoke-psake .\default.ps1 Clean

  • will execute the single task in the default.ps1 script

How To Contribute, Collaborate, Communicate

If you'd like to get involved with psake, we have discussion groups over at google: psake-dev psake-users

Anyone can fork the main repository and submit patches, as well. And lastly, the wiki and issues list are also open for additions, edits, and discussion.

Also check out the psake-contrib project for scripts,modules and functions to help you with a build

Contributors

Many thanks for contributions to psake are due (in alphabetical order):

  • candland
  • Staxmanade
  • lanwin
  • smbecker
  • stej

License

psake is released under the MIT license.