You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I've recently came across two issues for macros with the hxp.HXML class. The first is that addMacro only adds one dash for the macro flag when it should be a double dash.
Once that one character modification has been made the second issue is that the brackets in macro functions need to be escaped for bash. Currently macros are simple appended to the HXML array e.g. --macro snow.Set.config("config.json") but this causes the bash: syntax error near unexpected token('\ error on linux when calling build. To get around this macro brackets should to be escaped e.g. --macro snow.Set.config\("config.json"\).
Thanks
The text was updated successfully, but these errors were encountered:
Hello,
I've recently came across two issues for macros with the
hxp.HXML
class. The first is thataddMacro
only adds one dash for the macro flag when it should be a double dash.Once that one character modification has been made the second issue is that the brackets in macro functions need to be escaped for bash. Currently macros are simple appended to the HXML array e.g.
--macro snow.Set.config("config.json")
but this causes thebash: syntax error near unexpected token('\
error on linux when callingbuild
. To get around this macro brackets should to be escaped e.g.--macro snow.Set.config\("config.json"\)
.Thanks
The text was updated successfully, but these errors were encountered: