-
-
Save samuelematias/48d1df424126cb373aef094c94728950 to your computer and use it in GitHub Desktop.
Flutter Pre Commit Hook with Console Messages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
printf "\e[33;1m%s\e[0m\n" 'Running the Flutter formatter' | |
flutter format . | |
printf "\e[33;1m%s\e[0m\n" 'Finished running the Flutter formatter' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment