nightroman / Invoke-Build

Build Automation in PowerShell

Home Page:https://github.com/nightroman/Invoke-Build/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ib.cmd ? ignores a specified file

nightroman opened this issue · comments

Example: In the directory /Tests, invoke:

ib.cmd ? Acknowledged.build.ps1

(use ib.cmd, not ib, to bypass possibly existing alias ib)

Result: The command works for the default script .build.ps1, not the specified Acknowledged.build.ps1.

History: The special handling of ? was added to ib.cmd in order to show task info table with -AutoSize, for better view.

TODO: In latest PowerShell, both v5 and Core, -AutoSize is used automatically. So we can retire ? handling from ib.cmd as no more needed. This also solves the issue with the ignored file on ?.