2024-07-03 07:26:28 +00:00
|
|
|
#!/usr/bin/env bash
|
2023-07-03 14:07:11 +00:00
|
|
|
|
|
|
|
# Store the current working directory
|
|
|
|
original_dir=$(pwd)
|
|
|
|
|
|
|
|
# Change the current working directory to the script's location
|
|
|
|
cd "$(dirname "$0")"
|
|
|
|
|
|
|
|
# Call the script in the 'language_files' folder
|
|
|
|
echo "Generating files using easy_localization"
|
|
|
|
cd language_files
|
|
|
|
# Allow execution permissions on CI
|
|
|
|
chmod +x ./generate_language_files.sh
|
|
|
|
./generate_language_files.sh "$@"
|
|
|
|
|
|
|
|
# Return to the main script directory
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
# Call the script in the 'freezed' folder
|
|
|
|
echo "Generating files using build_runner"
|
|
|
|
cd freezed
|
|
|
|
# Allow execution permissions on CI
|
|
|
|
chmod +x ./generate_freezed.sh
|
|
|
|
./generate_freezed.sh "$@"
|
2023-08-14 20:34:01 +00:00
|
|
|
|
|
|
|
# Return to the main script directory
|
2023-08-03 12:02:44 +00:00
|
|
|
cd ..
|
2023-08-03 00:48:04 +00:00
|
|
|
|
2023-08-14 20:34:01 +00:00
|
|
|
echo "Generating svg files using flowy_svg"
|
|
|
|
cd flowy_icons
|
|
|
|
# Allow execution permissions on CI
|
|
|
|
chmod +x ./generate_flowy_icons.sh
|
|
|
|
./generate_flowy_icons.sh "$@"
|
|
|
|
|
2023-07-03 14:07:11 +00:00
|
|
|
# Return to the original directory
|
|
|
|
cd "$original_dir"
|