ewilde / crane

Crane creates builds scripts so you don't have to
http://blog.cranebuild.com
Apache License 2.0
6 stars 2 forks source link

[bug] Doesn't verify minimum Powershell version #86

Open mrdavidlaing opened 9 years ago

mrdavidlaing commented 9 years ago

I installed Crane on a vanilla Windows 7 machine, which ships with

PS C:\Users\david.laing> $PSVersionTable.PSVersion
Major  Minor  Build  Revision
-----  -----  -----  --------
2      0      -1     -1

crane init <Project> worked, as did running the build.ps1. However, I then started running into weird psake errors when trying to run the build.ps1 again.

I'm pretty sure this is because I'm using such an old version PowerShell.

I think build.ps1 should fail saying that I need to upgrade to the minimum supported version of Powershell (4?)