Commit Graph

174 Commits

Author SHA1 Message Date
Ross Savage
aec163c05a Wait for swift publishing job for flutter and RN 2024-05-06 16:19:50 +02:00
Erdem Yerebasmaz
cc85881a39 Merge pull request #161 from breez/flutter_ci
CI: Check Dart/Flutter bindings & run static code analysis for Dart/Flutter packages
2024-05-06 15:30:20 +03:00
Ross Savage
5815e7e7ed Merge pull request #163 from breez/savage-rn-binding-fix
Fix BindingWallet naming
2024-05-06 14:19:20 +02:00
Erdem Yerebasmaz
05689299f0 Update flutter_rust_bridge to 2.0.0-dev.33
Update dependencies to latest & increase the supported range
2024-05-06 14:58:31 +03:00
Erdem Yerebasmaz
74986f4d87 Add Troubleshooting section to README.md 2024-05-06 14:58:31 +03:00
Erdem Yerebasmaz
b3d9cf675a Install Melos as global package as part of just init
Update README accordingly
 - Remove Melos from prerequisites
2024-05-06 14:58:05 +03:00
Ross Savage
9edd68d08a Fix BindingWallet naming 2024-05-06 13:56:40 +02:00
Erdem Yerebasmaz
2246d9ca30 Add descriptions to just recipes
- Rename 'all' to 'bootstrap'
- Add 'frb' parameter to install 'frb' dependencies
- Disable test-flutter recipe
- Do not build library again child recipes of 'test'
2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
b8738ed76f Add a dummy test for Dart package 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
fe01c23334 Correct the library file path & profile on Dart package tests 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
51142bd9b6 Generate FFI bindings 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
fd14033edc Export error structs through Dart library 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
3071c36486 Generate Dart/Flutter bindings 2024-05-06 14:50:20 +03:00
Erdem Yerebasmaz
d2b054a39a Fix the path for generated docs 2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
52db699af0 Do not skip dependencies check when generating bindings 2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
fa1426ed07 Bundle the whole process under 'just all' command 2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
88f4958f11 List all just commands by default 2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
0c0287b465 Ignore symlink files for C headers
Remove symlink files from version control
2024-05-06 11:10:17 +03:00
Erdem Yerebasmaz
c782fbf058 Check Flutter bindings with CI
- Add static analysis step for Dart & Flutter packages
- Ignore warning for unused element on build scrips for Windows targets
- Continue if there are any errors with generating bindings
2024-05-06 11:10:17 +03:00
ok300
8a1508ab07 Rename wallet to SDK or LiquidSdk (#157)
* Rename global instance in bindings.rs

* Rename wallet to SDK or LiquidSdk

* Rename BindingWallet to BindingLiquidSdk

* Rename wallet to lwk_wollet, signer to lwk_signer

* Rename LsSdkError to LiquidSdkError

* Cargo fmt

* Rename LsSdkError in RN generator

---------

Co-authored-by: Ross Savage <hello@satimoto.com>
2024-05-03 13:53:37 +00:00
Ross Savage
309f7e7e39 Merge pull request #160 from breez/savage-fix-secp256k1-zkp
Change secp256k1-zkp source
2024-05-03 15:26:27 +02:00
Ross Savage
267819bb08 Change secp256k1-zkp dependency git source 2024-05-03 15:15:49 +02:00
Erdem Yerebasmaz
1501362757 Merge pull request #121 from breez/dart_packages
[frb] : Add support for Dart/Flutter bindings - Part II
2024-05-03 16:05:53 +03:00
Erdem Yerebasmaz
71c42b0b34 Update README and remove TODO 2024-05-03 16:05:40 +03:00
Erdem Yerebasmaz
9e8e647157 Use topmost .gitignore for flutter project 2024-05-03 16:05:40 +03:00
Erdem Yerebasmaz
2b56a76551 Add .flutter-version to .gitignore 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
3d1d3b5435 Remove obsolete files 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
5d966fc856 Move dart & flutter packages to packages folder on root 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
cfc4a078c5 Change library wording to SDK 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
e58d938a25 Remove garbage module file 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
60481975df Remove ls_sdk.h files 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
26f03c35d2 Point to release notes on repository on CHANGELOGS.md 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
1c78c30860 Apply renaming changes
- breez_sdk_liquid -> breez_liquid_sdk
- Fix repository hyperlinks
- Change descriptions on Dart/Flutter packages
2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
a912baebd9 Move flutter under bindings folder 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
6d4dab2ef8 Remove garbage header file 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
5779f024ab Apply API changes on example Flutter app 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
fc85f4f488 Generate Dart/Flutter bindings 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
efe3492be0 Apply rename changes 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
6802d11c09 Only compile ls-sdk-core with build scripts
Saves ~30 seconds & binary size is reduced by 50%
2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
d2e058329e Revert changes on release profile & create custom profiles for frb
Add comments on profile settings
2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
0e89047d21 Fix typo 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
e8a0973b7f Rename init to connect on example app 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
d5ae712568 Generate Dart bindings & C Headers
- Enable full dependencies
2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
1b0d915a7a Run "melos bootstrap" 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
f164b1d3ad Fix relative path of target folder on build_apple script 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
e14e4d44dd Fix workspace manifest location on build-android script 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
c3bae0e5df Only build core package with ls-sdk-flutter run commands 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
dbb42241b5 Use LsSdkError from ls-sdk::error 2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
31d37cc05e Add suitable crate-types are configured for target devices
- lib is required for non-library targets, such as tests and benchmarks
- staticlib is required for iOS
- cdylib for all other platforms
2024-05-03 16:05:39 +03:00
Erdem Yerebasmaz
795be560e6 Add Cargo profile for ls-sdk-flutter scripts 2024-05-03 16:05:39 +03:00