Would it be possible to run multiple cmd in a build system???
Or I need to make a bat file (under windows) to do that?
Also, can I call a plugin command in the “cmd” part of a build system?
Would it be possible to run multiple cmd in a build system???
Or I need to make a bat file (under windows) to do that?
Also, can I call a plugin command in the “cmd” part of a build system?
Same problem here. Any news?
For example for WiX I need to run
“candle $file.wix”
and
“light $file_base_name.wixobj”
to get the msi built.
Currently I use the work-around with variants:
{
"variants":
[
{
"name": "candle",
"cmd": "candle $file -ext WixUtilExtension"
},
{
"name": "light",
"cmd": "light $file_base_name.wixobj -ext WixUIExtension -ext WixUtilExtension -ext WixNetFxExtension -cultures:de-de"
}
]
}
why not just use "shell_cmd": "candle \"$file.wix\" && light \"$file_base_name.wixobj\""
like you would normally from a console, and the way it’s been done in the shipped packages for years?
@kingkeith: good idea. Thanks.
My final solution:
{
"working_dir": "${file_path}",
"shell_cmd": "candle $file -ext WixUtilExtension && light $file_base_name.wixobj -ext WixUIExtension -ext WixUtilExtension -ext WixNetFxExtension -cultures:de-de"
}