lunofono / lunofono_player

A Flutter widget to play content bundles for Lunofono
GNU General Public License v3.0
0 stars 1 forks source link

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.