I just saw the notice that 2.01 has been released and so I wanted to
try it on our build process but unfortunately it fails :( From the
looks of it this is due to the fact that we're running a set of
hierarchical build scripts. i.e:
- build.ps1
- product1.ps1
- product2.ps1
where build.ps1 calls the product build scripts in order. The error I get is:
product2.ps1:Exception calling "Pop" with "0"
argument(s): "Stack empty"
I'm pretty sure this is due to the fact the stack gets killed as soon
as the second build script exits but there should have been some more
elements on that stack. From what I can see this is due to the fact
that psake uses some script-level global variables which get clobbered
if you run psake multiple times from inside a psake task call.
I just wanted to let you guys know about this problem in case nobody
else runs into it :)
Thanks heaps for the new version, it looks like psake is going to be
an awesome build runner :)
Regards
Patrick