fix(build): fix an unintuitive operator precedence breaking plugin updating
This commit is contained in:
parent
ed0cea96dc
commit
b835594bf2
4 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ for plugin in ${plugins}
|
|||
mkdir ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/assets/plugins/
|
||||
plugin_name = basename ${plugin}
|
||||
plugin_out = set ${CARGO_MAKE_WORKSPACE_WORKING_DIRECTORY}/assets/plugins/${plugin_name}
|
||||
if not is_path_exists ${plugin_out} or is_path_newer ${plugin} ${plugin_out}
|
||||
if is_path_newer ${plugin} ${plugin_out} or not is_path_exists ${plugin_out}
|
||||
exec wasm-opt -O ${plugin} -o ${plugin_out}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue