mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-24 08:24:20 +01:00
* Flutter uniffi * Set on-demand resources * Do not build non-uniffi libraries * Change iosLibName * Add BreezSDKLiquid as on demand resources * Use downloaded framework * Add Sources to published flutter package * Set OTHER_LDFLAGS * Add logging * Refactor library initialization logic and throw an error if initialization fails * Do not statically link framework on production * Use uniFFI headers to generate FlutterBreezLiquidBindings * Re add frb header * Correct the library name * Remove static_framework * Move source header files * Copy iOS podspecs to macOS folder * Update version of macOS podspecs * Remove Windows & Linux support * Remove CMake scripts * Remove breez_sdk_liquid.podspec from version script * Cleanup older build scripts used by melos & just recipes * Remove softlink & copy recipes Add recipe descriptions * Rename link-uniffi recipe to link-headers Make sure headers are linked after uniffi is built - Remove just gen recipe Add recipe descriptions * Set package versions on production files as well when publishing * Include bindings project on melos script hooks * Flutter uniffi * Set on-demand resources * Do not build non-uniffi libraries * Change iosLibName * Add BreezSDKLiquid as on demand resources * Use downloaded framework * Add Sources to published flutter package * Set OTHER_LDFLAGS * Add logging * Refactor library initialization logic and throw an error if initialization fails * Do not statically link framework on production * Use uniFFI headers to generate FlutterBreezLiquidBindings * Re add frb header * Correct the library name * Remove static_framework * Move source header files * Copy iOS podspecs to macOS folder * Update version of macOS podspecs * Remove Windows & Linux support * Remove CMake scripts * Remove breez_sdk_liquid.podspec from version script * Cleanup older build scripts used by melos & just recipes * Remove softlink & copy recipes Add recipe descriptions * Rename link-uniffi recipe to link-headers Make sure headers are linked after uniffi is built - Remove just gen recipe Add recipe descriptions * Set package versions on production files as well when publishing * Include bindings project on melos script hooks * chore: just version * fix: remove unused files on "Set package version" step * copy FFI header files * [WIP] Add macOS support * remove example app on Flutter plugin * Link headers before running ffigen on CI workflow * macOS: add macos/Sources folder to .gitignore . * macOS: Copy iOS sources to macOS sources after downloading bindings * macOS: copy sources & framework file to macos folder on build-uniffi-swift script * import breez_sdk_liquidFFI header on plugin file Update flutter_breez_liquid.c * cleanup header file artifacts --------- Co-authored-by: Ross Savage <hello@satimoto.com>
63 lines
1.6 KiB
YAML
63 lines
1.6 KiB
YAML
name: breez_sdk_liquid
|
|
repository: https://github.com/breez/breez-sdk-liquid
|
|
packages:
|
|
- ../../../../packages/**
|
|
ignore:
|
|
# e.g. ignore example apps of dependencies
|
|
- ../../../../packages/**/example/**
|
|
|
|
commands:
|
|
bootstrap:
|
|
hooks:
|
|
post:
|
|
cargo check --manifest-path ../../../bindings/Cargo.toml
|
|
cargo check --manifest-path ../../../core/Cargo.toml --features frb
|
|
clean:
|
|
hooks:
|
|
pre:
|
|
cargo clean --manifest-path ../../../bindings/Cargo.toml
|
|
cargo clean --manifest-path ../../../core/Cargo.toml --features frb
|
|
version:
|
|
hooks:
|
|
preCommit: bash scripts/version.sh
|
|
|
|
scripts:
|
|
test:
|
|
melos run test-dart &&
|
|
melos run test-flutter
|
|
|
|
test-dart:
|
|
exec: dart test
|
|
packageFilters:
|
|
flutter: false
|
|
dirExists: test
|
|
# select-package:
|
|
|
|
test-flutter:
|
|
exec: flutter test integration_test
|
|
packageFilters:
|
|
flutter: true
|
|
dirExists: integration_test
|
|
|
|
analyze:
|
|
exec: flutter analyze --no-fatal-infos .
|
|
description: Analyze a specific package in this project.
|
|
|
|
check-format:
|
|
exec: dart format -o none --set-exit-if-changed -l 110 .
|
|
description: Check the format of a specific package in this project.
|
|
|
|
format:
|
|
exec: dart format -l 110 .
|
|
description: Format a specific package in this project.
|
|
|
|
pub-upgrade:
|
|
exec: dart pub upgrade
|
|
description: Update all the dependencies to the latest compatible versions in this project.
|
|
|
|
# TODO: deprecate when first version to pub.dev is published
|
|
docs:
|
|
exec: dart doc -o website/\$MELOS_PACKAGE_NAME
|
|
packageFilters:
|
|
private: false
|