mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-07 08:04:27 +01:00
71 lines
1.9 KiB
YAML
71 lines
1.9 KiB
YAML
name: breez_sdk_liquid
|
|
repository: https://github.com/breez-sdk/breez-sdk-liquid
|
|
packages:
|
|
- packages/**
|
|
- scripts
|
|
|
|
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 .
|
|
description: Analyze a specific package in this project.
|
|
|
|
check-format:
|
|
exec: dart format --set-exit-if-changed .
|
|
description: Check the format of a specific package in this project.
|
|
|
|
format:
|
|
exec: dart format .
|
|
description: Format a specific package 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
|