Skip to content
المشاريع

حول

دفع تحديثات الشيفرة لتطبيقات Flutter، إلى جانب أدوات أخرى لشركات Flutter.

تطوير الويب والتطبيقات

كيف تُقاس هذه الأرقام

النمو المقاس للنجوم

خلال 24 ساعة
٠
خلال 7 أيام
؜-١
خلال 15 يومًا
٠
خلال شهر
+٧

تغيّر صافي النجوم خلال فترات متداخلة، وليس مجموعًا يوميًا. تبقى القياسات المفقودة فارغة. النجوم تقيس الاهتمام لا جودة البرمجيات.

README.md

الأصل

Shorebird 🐦

Discord Shorebird Code Push - Flutter over the air updates | Product Hunt

ci e2e License: MIT License: Apache

Getting Started

Visit https://docs.shorebird.dev to get started.

Packages

This repository is a monorepo containing the following packages:

Package Description
shorebird_cli Command-line which allows developers to interact with various Shorebird services
shorebird_code_push_client Dart library which allows Dart applications to interact with the Shorebird CodePush API
shorebird_code_push_protocol Dart library which contains common interfaces used by Shorebird CodePush
redis_client Dart library for interacting with Redis
scoped_deps A simple dependency injection library built on Zones

For more information, please refer to the documentation for each package.

Contributing

If you're interested in contributing, please join us on Discord.

Environment setup

Working on Shorebird needs a Dart SDK of the version CI runs, the current stable. The scripts below take one of that version from your PATH, including the one inside a Flutter checkout, and otherwise fetch it from the Dart archive into ~/.cache/shorebird-dart-sdks.

./scripts/bootstrap.sh will run pub get all packages in the repository.

Running tests

./tool/agent-verify.sh runs the same format, analyze and test steps CI runs, over every workspace package, and skips each package whose inputs already passed. A single package is dart test in that package's directory.

To generate a coverage report, install lcov and very_good_cli:

brew install lcov
dart pub global activate very_good_cli

Then run tests with the --coverage flag, from the packages directory:

very_good test -r --coverage
genhtml coverage/lcov.info -o coverage

(If you run it in the root, it will find packages in bin/cache/flutter and try to run tests there, some of which will fail.)

You can view the generated coverage report via:

open coverage/index.html

Tracking coverage

The following command will generate a coverage report for the Dart packages:

dart test --coverage=coverage && dart pub global run coverage:format_coverage --lcov --in=coverage --out=coverage/lcov.info --packages=.dart_tool/package_config.json --check-ignore

License

Shorebird projects are licensed for use under either Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0) MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT) at your option.

See our license philosophy for more information on why we license files this way: https://handbook.shorebird.dev/engineering/#licensing-philosophy

استكشف مشاريع مشابهة ومرتبطة

جارٍ التحميل…