EnTerr
9 years agoRoku Guru
Lightweight deployment script for Windows
This question made me wonder about writing a Windows equivalent of this script i use on Mac to build&deploy to Roku box.
I like to have as little "friction"/dependencies for people as reasonably possible - but the thing is, stock Windows has neither make nor zip nor curl out of the box. So the question is, can something be done for that, short of a "You wanted a banana but what you got was a gorilla holding the banana and the entire jungle" syndrome (i.e. install some Unix subsystem flavor or get eclipsed).
I did some research and seems that it could potentially be done, by say writing a PowerShell script, one should be able to do zipping and file upload, and result filtering. Yet my PowerShell king-fu is non-existent. So i wonder - has somebody already done this? Like write a deployment script that works on a vanilla Windows?
I like to have as little "friction"/dependencies for people as reasonably possible - but the thing is, stock Windows has neither make nor zip nor curl out of the box. So the question is, can something be done for that, short of a "You wanted a banana but what you got was a gorilla holding the banana and the entire jungle" syndrome (i.e. install some Unix subsystem flavor or get eclipsed).
I did some research and seems that it could potentially be done, by say writing a PowerShell script, one should be able to do zipping and file upload, and result filtering. Yet my PowerShell king-fu is non-existent. So i wonder - has somebody already done this? Like write a deployment script that works on a vanilla Windows?