From d89a407cf0f6cb62eb72dc367f2f4ffe124bfd57 Mon Sep 17 00:00:00 2001 From: Rongjian Zhang Date: Thu, 8 Oct 2020 15:17:54 +0800 Subject: [PATCH] chore: add format script --- dev.sh => scripts/dev.sh | 1 + scripts/format.sh | 3 +++ 2 files changed, 4 insertions(+) rename dev.sh => scripts/dev.sh (98%) create mode 100644 scripts/format.sh diff --git a/dev.sh b/scripts/dev.sh similarity index 98% rename from dev.sh rename to scripts/dev.sh index db65bae..8daf8f2 100644 --- a/dev.sh +++ b/scripts/dev.sh @@ -1,2 +1,3 @@ #!/bin/bash + flutter pub run build_runner watch --delete-conflicting-outputs diff --git a/scripts/format.sh b/scripts/format.sh new file mode 100644 index 0000000..87f7b56 --- /dev/null +++ b/scripts/format.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +dartfmt --overwrite lib/**/*.dart