fix(build): fix an unintuitive operator precedence breaking plugin updating

This commit is contained in:
Brooks J Rady 2021-05-14 10:56:36 +01:00
parent ed0cea96dc
commit b835594bf2
4 changed files with 1 additions and 1 deletions

View file

@ -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.