ligershark / pecan-waffle

Apache License 2.0
16 stars 4 forks source link

Execute-CommandString not recognized when installing #2

Closed codewithtyler closed 8 years ago

codewithtyler commented 8 years ago

When installing pecan-waffle and attempting to add the aspnet-empty project I get the following error messages.

pecan-waffle_install

sayedihashimi commented 8 years ago

In https://github.com/ligershark/pecan-waffle/commit/708551cf3d609fec4db2e44022a92eefb98ea601 I have reworked the install script. In the previous it was using Add-TemplateSource to the repo to get the templates. Now the install script downloads the repo as a .zip file, extracts contents, loads module and then calls Add-TemplateSource on the local folder. So it no longer requires git.exe to be on the path by default and it doesn't go down the path of calling Execute-CommandString at all.

This should now be fixed so closing. Can you try the latest install script?

codewithtyler commented 8 years ago

Install works great now! I didn't get any errors and I was able to add the template source I made last night and then create a new project with the source with no problems.

sayedihashimi commented 8 years ago

OK great. I created a dev branch to keep master clean. I'm going to see what I can do about item templates. The existing support should work for multi-project templates. You just put the file at the root instead of at the project level.