A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/psake/psake below:

psake/psake: A build automation tool written in PowerShell

A build automation tool written in PowerShell that leverages your existing command-line knowledge.

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 existing command-line knowledge.

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

psake can be installed in several ways:

Option 1: PowerShell Gallery (Recommended)
Install-Module -Name psake -Scope CurrentUser
Option 3: Manual Installation
  1. Download and extract the project from the releases page

  2. Unblock the zip file before extracting (right-click → Properties → Unblock)

  3. Import the module:

    Import-Module .\psake.psm1

We highly recommend reading the psake docs for a more thorough walk through.

  1. Create a build script file (e.g., psakefile.ps1):

    Task Default -Depends Test, Package
    
    Task Test {
        Write-Host "Running tests..."
    }
    
    Task Package {
        Write-Host "Creating package..."
    }
  2. Run the build:

Navigate to the examples directory and try out the sample build scripts:

cd .\examples
Invoke-psake                    # Runs the default task
Invoke-psake .\psakefile.ps1 Clean  # Runs the Clean task

Get detailed help and examples:

Get-Help Invoke-psake -Full
Visual Studio Integration

For Visual Studio 2017 and later, psake can automatically locate MSBuild. If you encounter issues, you may need to install the VSSetup PowerShell module:

Install-Module -Name VSSetup -Scope CurrentUser

You can find information about each release of psake in the releases section and the Changelog.

We welcome contributions! Here's how you can get involved:

psake is released under the MIT license.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4