Skip to content
This repository has been archived by the owner on May 28, 2024. It is now read-only.

A Flutter widget to play content bundles for Lunofono

License

Notifications You must be signed in to change notification settings

lunofono/lunofono_player

Repository files navigation

lunofono_bundle SponsorGitHub SponsorsLiberapayPaypalBuy Me A CoffeePatreonFlattr

CI Coverage

A Flutter widget to play content bundles for Lunofono.

Contributing

This project is written in Flutter. Once you have a working Flutter SDK installed, you can test it using flutter test.

To run the tests you need to first generate the mocks:

flutter pub run build_runner build

Git Hooks

This repository provides some useful Git hooks to make sure new commits have some basic health.

The hooks are provided in the .githooks/ directory and can be easily used by configuring git to use this directory for hooks instead of the default .git/hooks/:

git config core.hooksPath .githooks

So far there is a hook to prevent commits with the WIP word in the message to be pushed, and one hook to run flutter analyze and flutter test before a new commit is created. The later can take some time, but it can be easily disabled temporarily by using git commit --no-verify if you are, for example, just changing the README file or amending a commit message.