chore: add format script

This commit is contained in:
Rongjian Zhang 2020-10-08 15:17:54 +08:00
parent 968019b932
commit d89a407cf0
2 changed files with 4 additions and 0 deletions

View File

@ -1,2 +1,3 @@
#!/bin/bash
flutter pub run build_runner watch --delete-conflicting-outputs

3
scripts/format.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
dartfmt --overwrite lib/**/*.dart