mirror of
https://github.com/aljazceru/breez-sdk-liquid.git
synced 2026-01-24 08:24:20 +01:00
* Fix relative path on melos.yaml * Mention current version on CHANGELOG.md * Remove symlink for apache license * Address typos & relative path issues on README.md * Ignore Flutter example app on Melos.yaml * Remove obsolete param from Config on example app * Do not treat info messages as critical * Update README of Dart/Flutter packages Revert changes on topmost README * Update pubspec.lock * Make dart output directory if it does not exists * Replace continue-on-error Resume even if previous step fails, this approach displays errors on CI summary. * Install Protoc as part of CI workflow * Added init-sdk as part of just bootstrap recipe which installs protobuf * Pinned freezed to <=2.5.2
80 lines
2.3 KiB
YAML
80 lines
2.3 KiB
YAML
name: breez_liquid_sdk
|
|
repository: https://github.com/breez/breez-liquid-sdk
|
|
packages:
|
|
- ../../../../packages/**
|
|
- scripts
|
|
ignore:
|
|
# e.g. ignore example apps of dependencies
|
|
- ../../../../packages/**/example/**
|
|
# e.g. ignore Flutter example app
|
|
- '../../../../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 --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
|