Rahul Sharma (Editor)

Psake

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Written in
  
PowerShell

License
  
MIT License

Operating system
  
Cross-platform

Website
  
github.com/psake/psake

Stable release
  
4.4.1 / November 19, 2014; 2 years ago (2014-11-19)

Type
  
Software development tools

psake is a domain-specific language and build automation tool written in PowerShell to create builds using a dependency pattern similar to Rake or MSBuild. It is intends to simplify the build language as compared to MSBuild scripting.

A build script consists of Tasks. Each Task is a function that can define dependencies on other Task functions.

The following is an example psake script:

psake executes the Task functions and enforces the dependencies between tasks. Since psake is written in a real programming language and not XML, you have a lot more freedom and flexibility in your build scripts. You can use all the features of PowerShell and the .NET Framework within your build.

The output of running psake on the script above is shown below:

History

  • May 2008 - psake originally written by James Kovacs as a PowerShell V1 script file
  • May 2009 - psake re-written as a PowerShell V2 module by Jorge Matos
  • References

    Psake Wikipedia