Files
TubeCards/scripts/update_generated_files.sh

10 lines
283 B
Bash
Executable File

#!/bin/sh
bold=$(tput bold)
normal=$(tput sgr0)
printf "%s\n" "${bold}Update generated flutter files...${normal}"
flutter pub run build_runner build --delete-conflicting-outputs
flutter packages pub run gen_lang:generate --output-dir lib/i18n
printf "%s\n" "${bold}Done.${normal}"