Files
breez-sdk-liquid/Makefile
Ross Savage 15a0c46f76 Improve development guides (#809)
* Improve development guides

* Apply suggestions from code review

Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>

* Add Firefox prerequisites

---------

Co-authored-by: Erdem Yerebasmaz <erdem@yerebasmaz.com>
2025-03-25 17:23:04 +01:00

42 lines
862 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 -- -D warnings
cd lib/bindings && cargo clippy --tests -- -D warnings
cd lib/core && cargo clippy -- -D warnings
cd lib/core && cargo clippy --tests -- -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