mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-06 15:44:24 +01:00
78 lines
2.2 KiB
YAML
78 lines
2.2 KiB
YAML
name: breez_liquid_sdk
|
|
repository: https://github.com/breez/breez-liquid-sdk
|
|
packages:
|
|
- ../../../packages/**
|
|
- scripts
|
|
ignore:
|
|
# e.g. ignore example apps
|
|
- ../../../packages/**/example/**
|
|
|
|
commands:
|
|
bootstrap:
|
|
hooks:
|
|
post: cargo check --manifest-path ../../../core/Cargo.toml --features frb
|
|
clean:
|
|
hooks:
|
|
pre: cargo clean --manifest-path ../../../core/Cargo.toml --features frb
|
|
version:
|
|
hooks:
|
|
preCommit: bash scripts/version.sh
|
|
|
|
scripts:
|
|
# only MacOS machines (CI or otherwise) can realistically invoke this.
|
|
build:
|
|
melos run build-apple &&
|
|
melos run build-android &&
|
|
melos run build-other
|
|
|
|
# the only time 'melos run build-*' is called is to prepare
|
|
# for distribution, so use the 'frb-min' profile.
|
|
build-apple: dart scripts/build_apple.dart --profile frb-min
|
|
build-android: bash scripts/build-android.sh --profile frb-min
|
|
build-other: dart scripts/build_other.dart --profile frb-min
|
|
|
|
# Platform-specific builds, mainly for testing
|
|
build-ios: dart scripts/build_apple.dart --ios
|
|
build-macos: dart scripts/build_apple.dart --local
|
|
build-other-local: dart scripts/build_other.dart --local
|
|
|
|
test:
|
|
cargo build --package breez-liquid-sdk --profile=frb &&
|
|
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 --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
|