Skip to content
Commits on May 11, 2012
  1. @JamesKovacs

    Merge pull request #31 from idavis/master

    JamesKovacs committed
    Allow scriptblock execution for initialization step
  2. @JamesKovacs

    Merge pull request #30 from kblooie/DependantModuleIssue

    JamesKovacs committed
    Sample of the module dependency issue
Commits on May 7, 2012
  1. @idavis
Commits on Apr 24, 2012
  1. @kblooie

    Added test for issue with running a module function that depends on a…

    kblooie committed
    … function from another module
Commits on Mar 21, 2012
  1. @JamesKovacs

    Fixed formatting in .nuspec

    JamesKovacs committed
  2. @JamesKovacs
  3. @JamesKovacs

    Defaulted psake to .NET 4.0

    JamesKovacs committed
  4. @JamesKovacs

    Merge pull request #26 from pedroreys/alias

    JamesKovacs committed
    Adds support to defining an alias to a task.
Commits on Mar 19, 2012
  1. @idavis

    fixing case where framework is set using 3 digits (3.0/4.0). The bit …

    idavis committed
    …substring is empty, not null. This will fix all specs.
Commits on Feb 10, 2012
  1. @pedroreys
  2. @pedroreys

    Adds support to defining an alias to a task.

    pedroreys committed
    Example:
      task Task_With_Descriptive_Name -alias twdn {}
    
    By doing that I can now call .\psake.ps1 twdn and have the
    Task_With_Descriptive_Name executed
Commits on Nov 5, 2011
  1. Added -help switch to psake.ps1 instead of psake-help.ps1 script

    whut committed
    Simplificated psake.cmd because of that (also removed some ifs that detected if help should be displayed, because they for example make it impossible to call task with name "help")
  2. Warning (yellow colored output) when task failed with -ContinueOnError

    whut committed
    Also some small stuff, unified error messages, comment formating, etc
  3. @whut

    Task duration shows duration of task, not of task and it's dependencies

    whut committed
    Also added default duration of TimeSpan.Zero (to show in summary 00:00:00 instead of 0)
    And added argument to Write-TaskSummary, to make it more readable where $stopwatch variable inside that function came from, and use of where-object instead of its alias ?, to also make it more readable
Commits on Nov 4, 2011
  1. Use of Cyan foreground color, instead of Blue to make it more visible…

    whut committed
    … on darker consoles
    
    Cyan is also commonly recommended, for example in http://blogs.msdn.com/b/abhinaba/archive/2006/01/05/509581.aspx
  2. Fix for issue #23 - psake.cmd should exit with 0 when build succeeded

    whut committed
    Also use of -ExecutionPolicy Bypass, which is even less restrictive than -ExecutionPolicy Unrestricted
Commits on Oct 23, 2011
  1. Fixed issue #7 - not using buildFile as taskList in Invoke-Psake, whe…

    whut committed
    …n there is folder, not file with name as task
    
    Added -PathType to all test-path invocations
  2. @whut

    Added RequiredVariables argument to Task function

    whut committed
    Also unified formatting in Task
  3. @whut

    Added note to Include function that code from included file will be e…

    whut committed
    …xecuted after code from build script.
  4. @whut

    Simplified loading modules

    whut committed
Commits on Oct 11, 2011
  1. @JamesKovacs
  2. @JamesKovacs
Commits on Oct 6, 2011
  1. @whut

    Removed remove-item from psake.psm1, added [p]sake trick to psake.ps1

    whut committed
    If someone imports psake.psm1 it is his responsibility to remove it, not psake, but when it is imported by helper script psake.ps1, it is our responsibility to not pollute PowerShell with many psake modules from many folders
  2. @whut

    Defaults showed in psake-config.ps1 where different than actual defau…

    whut committed
    …lts (defined at the end of psake.psm1)
Commits on Oct 5, 2011
  1. @nightroman @whut

    Enabled source information in task error messages shown by psake.

    nightroman committed with whut
    Proposed ($_ | Out-String) gets the error message with source information.
    In contrast, the original ($_) gets messages without this useful info. Just a
    name of a failed task is often not enough in order to locate the problem fast,
    for example in a typical case when an error happens in a script called from a
    task. Existing verbose error mode is too verbose in many cases when error file
    names and line numbers in messages would be enough.
  2. @nightroman @whut

    Avoided silent but still added to $Error redundant errors on loading …

    nightroman committed with whut
    …psake.
    
    Remove-Module "[p]sake" is the same as Remove-Module "psake" because the
    pattern "[p]sake" matches just "psake" and nothing else. At the same time
    Remove-Module does not emit errors when a pattern is resolved to nothing
    (unlike in the case with a literal argument). As a result we eliminate the
    redundant error silently added to $Error on every first loading of psake.
Commits on Oct 3, 2011
  1. @whut

    Returning non-zero exit code on build failure is done in psake.cmd in…

    whut committed
    …stead of in Invoke-Psake
    
    Now Invoke-Psake newer exits whole PowerShell process, so it is possible to run psake more than once in one build server run.
    Also it fixes problem with random freezes on errors. They happened because psake tried to find out if it is called by windows service and used ParentProcessId,
    but Windows is not Unix;), and this Id can point to terminated or completely different process, and such process can again point to first process, and it causes infinite loops.
    
    Also formatting changes in psake.ps1, now is the same formatting style as in psake.psm1
Commits on Aug 5, 2011
  1. @whut

    coloredOutput is true by default

    whut committed
    This way by default error messages will be showed in red, as before
  2. @whut
  3. @whut

    Updated documentation of Invoke-Psake after recent changes

    whut committed
    Also added Framework as related link to other psake functions
  4. @whut

    Restored ability to set framework version through global framework va…

    whut committed
    …riable
    
    Also fixed mixed tabs and spaces
  5. @whut

    Fixed checkvariables example after recent changes

    whut committed
    Also simplified and added showing some more properties
  6. @whut

    Added example of task precondition and postcondition and another of T…

    whut committed
    …askSetup and TearDown
    
    Also reworded assert messages in two examples to show correct usage
  7. @JamesKovacs

    Merge remote-tracking branch 'mboltuc/master'

    JamesKovacs committed
    Conflicts:
    	psake.psm1
  8. @JamesKovacs

    Merge branch 'master' of github.com:JamesKovacs/psake

    JamesKovacs committed
    Conflicts:
    	psake.psm1
Something went wrong with that request. Please try again.