diff --git a/Changelog.md b/Changelog.md index 3e7af62e8..8c98d4e8c 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,9 @@ # Changelog +## 1.4.11+77 (15/10/2022) +- Nilou + + ## 1.4.9+75 (08/09/2022) - 5 star Razor - Phineas and Ferb sister diff --git a/run_build.sh b/run_build.sh index 28083ef9a..6913ef2ae 100644 --- a/run_build.sh +++ b/run_build.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -sh run_tests.sh --clean --pub_get --delete_conflicting_outputs - +sh run_clean.sh +sh run_tests.sh sh run_build_android.sh sh run_build_windows.sh \ No newline at end of file diff --git a/run_clean.sh b/run_clean.sh new file mode 100644 index 000000000..59a2f172e --- /dev/null +++ b/run_clean.sh @@ -0,0 +1,14 @@ +#!/bin/bash +set -e + +echo 'Cleaning project...' +flutter clean + +echo 'Retrieving packages...' +flutter pub get + +echo 'Deleting conflicting outputs...' +flutter pub run build_runner clean +flutter pub run build_runner build --delete-conflicting-outputs + +echo 'Clean completed' \ No newline at end of file diff --git a/run_tests.sh b/run_tests.sh index 24f22962c..c990d8354 100644 --- a/run_tests.sh +++ b/run_tests.sh @@ -1,31 +1,5 @@ #!/bin/bash set -e -while [[ "$#" -gt 0 ]]; do - case $1 in - --all) clean=1; pub_get=1; delete_conflicting_outputs=1; ;; - --clean) clean=1; ;; - --pub_get) pub_get=1; ;; - --delete_conflicting_outputs) delete_conflicting_outputs=1; ;; - *) echo "Unknown parameter passed: $1"; exit 1 ;; - esac - shift -done - -if [ "$clean" = 1 ]; then - echo 'Cleaning project...' - flutter clean -fi - -if [ "$pub_get" = 1 ]; then - echo 'Retrieving packages...' - flutter pub get -fi - -if [ "$delete_conflicting_outputs" = 1 ]; then - echo 'Deleting conflicting outputs...' - flutter pub run build_runner build --delete-conflicting-outputs -fi - echo 'Running tests...' flutter test \ No newline at end of file