Files

1015 B

Linting And Test Flow

MoonWell Launcher tracks the latest stable Flutter SDK through FVM. Use fvm for every Dart and Flutter command.

Required Checks

Run these commands before committing:

fvm dart format --set-exit-if-changed .
fvm flutter analyze
fvm flutter test

Use fvm dart format . to apply formatting fixes when the format check fails.

Lefthook

This repository includes lefthook.yml with a pre-commit hook that runs the same format, analyze, and test flow.

Install Lefthook once on your machine, then install the Git hook from the repo root:

lefthook install

Run the pre-commit flow manually with:

lefthook run pre-commit

If lefthook is not available, install it with your preferred package manager from the official Lefthook distribution, then rerun lefthook install.

Windows Troubleshooting

If Flutter reports that building with plugins requires symlink support, enable Windows Developer Mode and rerun the command.