Delete conflicting outputs in sally CI

This commit is contained in:
Simon Binder 2019-02-14 18:01:06 +01:00
parent 700a21d29e
commit b4a3016b40
2 changed files with 3 additions and 3 deletions

View File

@ -6,4 +6,4 @@ stages:
- dartanalyzer: --fatal-infos --fatal-warnings .
- dartfmt
- unit_test:
- command: pub run build_runner test
- command: pub run build_runner test --delete-conflicting-outputs

View File

@ -21,8 +21,8 @@ while (( "$#" )); do
case $TASK in
command) echo
echo -e '\033[1mTASK: command\033[22m'
echo -e 'pub run build_runner test'
pub run build_runner test || EXIT_CODE=$?
echo -e 'pub run build_runner test --delete-conflicting-outputs'
pub run build_runner test --delete-conflicting-outputs || EXIT_CODE=$?
;;
dartanalyzer) echo
echo -e '\033[1mTASK: dartanalyzer\033[22m'