this for you. Possibly a sample build script too.
On Apr 6, 1:21 am, Frank Schwieterman <
fschw...@gmail.com> wrote:
> I've ended up having a file like the below in my solution root:
> I keep a set of config files which are values for the psake parameters.
> So to run a task, I type:
>
> .\run.ps1 <pathToConfigFile> [tasksToRun]
>
> run.ps1:
> param($configurationFile = $(throw "Missing first parameter, which should
> be your config file."), $task = "default")
>
> get-module psake | remove-module
>
> import-module .\packages\psake.4.0.1.0\tools\psake.psm1
>
> $conf = & $configurationFile
>
> invoke-psake .\PsakeTasks.ps1 $task -parameters $conf
>