Files
nym/wasm/mix-fetch/Makefile
T
mfahampshire 4848d081d0 Max/tweak ts sdk actions (#6185)
* add taskset to wasm release build commands

* bump taskset cores
2025-11-11 10:19:55 +00:00

27 lines
696 B
Makefile

build: build-go-opt build-rust build-package-json
check-fmt: check-fmt-go check-fmt-rust
build-go:
$(MAKE) -C go-mix-conn build-go
build-go-opt:
$(MAKE) -C go-mix-conn build-go-opt
build-rust:
taskset -c 0-11 wasm-pack build --scope nymproject --target web --out-dir ../../dist/wasm/mix-fetch
taskset -c 0-11 wasm-opt -Oz -o ../../dist/wasm/mix-fetch/mix_fetch_wasm_bg.wasm ../../dist/wasm/mix-fetch/mix_fetch_wasm_bg.wasm
build-rust-debug:
wasm-pack build --debug --scope nymproject --target no-modules
build-package-json:
node build.mjs
check-fmt-go:
$(MAKE) -C go-mix-conn check-fmt
check-fmt-rust:
cargo fmt --check
cargo clippy --target wasm32-unknown-unknown -- -Dwarnings