(fix): small logic error in build script
Some checks failed
CI / example (push) Has been cancelled
CI / cargo-deny (push) Has been cancelled
CI / cargo-machete (push) Has been cancelled
CI / duplicate code (push) Has been cancelled
CI / web client (push) Has been cancelled
CI / test (push) Has been cancelled
CI / clippy (push) Has been cancelled
CI / rustfmt (push) Has been cancelled
CI / wasm build (push) Has been cancelled

This commit is contained in:
Alois 2026-06-28 13:59:23 +02:00
commit 314fb981c7

View file

@ -48,7 +48,7 @@
],
"scripts": {
"example": "pnpm install && pnpm run build:all && nix develop .#autoStart",
"build": "tsc && MTP_TYPE_MAPS=$PWD/example/type-maps.yaml RUSTFLAGS='--cfg web_sys_unstable_apis' wasm-pack build wasm --target web --out-dir pkg --release",
"build": "MTP_TYPE_MAPS=$PWD/example/type-maps.yaml RUSTFLAGS='--cfg web_sys_unstable_apis' wasm-pack build wasm --target web --out-dir pkg --release && tsc",
"build:all": "nix run .#build-all",
"dup": "jscpd --pattern '**/*.rs' --ignore 'target/**' --ignore 'wasm/pkg/**' --ignore '.git/**' --min-lines 8 --min-tokens 80 --threshold 4 --reporters console --no-tips ."
},