mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-16 20:44:27 +01:00
* 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>
42 lines
862 B
Makefile
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
|