diff options
author | Brooks J Rady <b.j.rady@gmail.com> | 2021-05-14 10:56:36 +0100 |
---|---|---|
committer | Brooks J Rady <b.j.rady@gmail.com> | 2021-05-14 11:07:45 +0100 |
commit | b835594bf2d87e30829b2f83fe85b4c6d5efa57e (patch) | |
tree | 319a441fb44ca9108dcb40bb2e7a3aebf96c288c /Makefile.toml | |
parent | ed0cea96dc85340eaab0de4db3b6ef340fb11fb9 (diff) |
fix(build): fix an unintuitive operator precedence breaking plugin updating
Diffstat (limited to 'Makefile.toml')
-rw-r--r-- | Makefile.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.toml b/Makefile.toml index 167afc34d..c02ba1ccf 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -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 |