Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork273
A build automation tool written in PowerShell
License
psake/psake
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A build automation tool written in PowerShell that leverages your existingcommand-line knowledge.
psake is a build automation tool written in PowerShell. It avoids theangle-bracket tax associated with executable XML by leveraging the PowerShellsyntax in your build scripts. psake has a syntax inspired by rake (aka makein Ruby) and bake (aka make in Boo), but is easier to script because itleverages your existing command-line knowledge.
Note: psake is pronounced "sake" – as in Japanese rice wine. It doesNOT rhyme with make, bake, or rake.
psake can be installed in several ways:
Install-Module-Name psake-Scope CurrentUser
choco install psake
Download and extract the project from thereleases page
Unblock the zip file before extracting (right-click → Properties → Unblock)
Import the module:
Import-Module .\psake.psm1
PowerShell 5.1 or later
Execution policy set to allow script execution:
Set-ExecutionPolicy RemoteSigned-Scope CurrentUser
We highly recommend reading thepsake docs for amore thorough walk through.
Create a build script file (e.g.,
psakefile.ps1):TaskDefault-Depends Test, PackageTask Test {Write-Host"Running tests..."}Task Package {Write-Host"Creating package..."}
Run the build:
Invoke-psake
Navigate to the examples directory and try out the sample build scripts:
cd .\examplesInvoke-psake# Runs the default taskInvoke-psake .\psakefile.ps1Clean# Runs the Clean task
Get detailed help and examples:
Get-HelpInvoke-psake-Full
For Visual Studio 2017 and later, psake can automatically locate MSBuild.If you encounter issues, you may need to install theVSSetup PowerShell module:
Install-Module-Name VSSetup-Scope CurrentUser
You can find information about each release of psake in thereleases section and theChangelog.
We welcome contributions! Here's how you can get involved:
- GitHub Discussions - Askquestions and share ideas
- PowerShell Discord - Join the #psake channel
- PowerShell Slack - Join the #psake channel
- Fork themain repository and submitpull requests
- Check out thepsake docs for documentation
- Browse theissues list for bugsand feature requests
- Explorepsake-contrib foradditional scripts and modules
psake is released under theMIT license.
About
A build automation tool written in PowerShell
Topics
Resources
License
Code of conduct
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.