GithubHelp home page GithubHelp logo

musaddiq625 / shorebird Goto Github PK

View Code? Open in Web Editor NEW

This project forked from shorebirdtech/shorebird

0.0 0.0 0.0 9.21 MB

Home of the Shorebird Tools ๐Ÿฆ

Home Page: https://shorebird.dev

License: Other

Shell 0.37% PowerShell 0.51% Dart 98.87% Batchfile 0.10% Dockerfile 0.16%

shorebird's Introduction

Shorebird ๐Ÿฆ

Discord

ci e2e codecov License: MIT License: Apache

Home of the Shorebird Tools

Status

Shorebird code push is in Open Beta! Instructions for install and usage are at https://docs.shorebird.dev/

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
discord_gcp_alerts Dart server which forwards GCP alerts to Discord
jwt Dart library for verifying Json Web Tokens
scoped A simple dependency injection library built on Zones

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

โ—๏ธ Note: This project is under heavy development. Things will change frequently and none of the code is ready for production use. We will do our best to keep the documentation up-to-date.

Contributing

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

Environment setup

Working on Shorebird requires Dart and Rust.

Once both are installed, ./scripts/bootstrap.sh will run pub get all packages in the repository.

Running tests

We don't yet have a script to run tests locally. For now, we recommend using very_good test -r in the packages directory to run all shorebird tests.

(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.)

To generate a coverage report install lcov:

brew install lcov

Then run tests with the --coverage flag:

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

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

We don't yet have a recommended way to view the coverage report but there are several extensions available in VSCode.

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://github.com/shorebirdtech/handbook/blob/main/engineering.md#licensing-philosophy

shorebird's People

Contributors

felangel avatar eseidel avatar bryanoltman avatar a14n avatar moksh-mahajan avatar abarth avatar rkishan516 avatar nosovk avatar erikas-taroza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.