I want to extend the hooks capability to allow specification of the shell option like below. I will set it up as an optional param of course.
The reason for wanting this is so that I can focus on writing only one version of the hook which various devs on different OS's can still use by specifying the shell to a shell which supports the hook. In the specific case of what I'm working on right now I want the hook to work for other devs on the team which use Mac; but I use Windows. I do however have access to GitBash on Windows which will allow me again to only write one version of the hook itself. I will just leave the shell option commented to allow Windows devs to quickly be able to use the same mup.js deployment
The underlying code for the hooks functionality uses Node's
child_process.execSync
I want to extend the hooks capability to allow specification of the![image](https://user-images.githubusercontent.com/32135045/107152532-7959a280-6936-11eb-853f-9f3b163c7189.png)
shell
option like below. I will set it up as an optional param of course.The reason for wanting this is so that I can focus on writing only one version of the hook which various devs on different OS's can still use by specifying the shell to a shell which supports the hook. In the specific case of what I'm working on right now I want the hook to work for other devs on the team which use Mac; but I use Windows. I do however have access to GitBash on Windows which will allow me again to only write one version of the hook itself. I will just leave the shell option commented to allow Windows devs to quickly be able to use the same
mup.js
deployment