Files
breez-sdk-liquid/Makefile
Ross Savage 3f94fd970a Fix clippy test issues (#850)
* Fix clippy test issues

* Address review feedback
2025-04-03 10:21:27 +00:00

40 lines
782 B
Makefile

all: fmt codegen clippy
init:
make -C ./lib/bindings init
make -C ./lib/core init
make -C ./lib/wasm init
fmt:
cd lib && cargo fmt
cd cli && cargo fmt
clippy: cargo-clippy wasm-clippy
cargo-clippy:
cd lib/bindings && cargo clippy --all-targets -- -D warnings
cd lib/core && cargo clippy --all-targets -- -D warnings
cd cli && cargo clippy -- -D warnings
wasm-clippy:
make -C ./lib/core wasm-clippy
make -C ./lib/wasm clippy
test: cargo-test wasm-test
cargo-test:
cd lib/bindings && cargo test
cd lib/core && cargo test
wasm-test:
make -C ./lib/core wasm-test
make -C ./lib/wasm test
codegen: flutter-codegen react-native-codegen
flutter-codegen:
cd lib/bindings/langs/flutter && just gen
react-native-codegen:
make -C ./packages/react-native react-native