Files
nym/wasm/mix-fetch/Makefile
T
Jędrzej Stuczyński adb248dbcc chore: refresh wasm sdk (#5353)
* make packet statistics wasm-compatible

* fixed possible overflow issue in delay controller

* updated wasm-client to be compatible with the current network

* applied same logic to mixfetch client

* removed dead imports

* updated versions
2025-01-15 17:11:17 +00:00

26 lines
663 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:
wasm-pack build --scope nymproject --target web --out-dir ../../dist/wasm/mix-fetch
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