automaton

An automaton library written in Rust
Log | Files | Refs

commit 564719fa2cf16600105f98e4439d341ec87ca30c
parent ab7daf42e4446d755a276cb6609bef74e21f9899
Author: Ethan Long <ethandavidlong@gmail.com>
Date:   Mon, 26 Feb 2024 21:40:44 +1100

Made the build return a code on success/failure

Diffstat:
Mweb/build.js | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/web/build.js b/web/build.js @@ -15,3 +15,5 @@ console.log(res); // This step should not be necessary, but unfortunately bun's bundler seems to be changing the references to the WASM without also copying it... await $`cp pkg/automaton_bg.wasm dist/`; + +process.exit(res.success ? 0 : 1);