2023-07-03 14:07:11 +00:00
|
|
|
@echo off
|
|
|
|
|
|
|
|
REM Store the current working directory
|
|
|
|
set "original_dir=%CD%"
|
|
|
|
|
|
|
|
REM Change the current working directory to the script's location
|
|
|
|
cd /d "%~dp0"
|
|
|
|
|
|
|
|
REM Call the script in the 'language_files' folder
|
|
|
|
echo Generating files using easy_localization
|
|
|
|
cd language_files
|
|
|
|
REM Allow execution permissions on CI
|
|
|
|
chmod +x generate_language_files.cmd
|
|
|
|
call generate_language_files.cmd %*
|
|
|
|
|
|
|
|
REM Return to the main script directory
|
|
|
|
cd ..
|
|
|
|
|
|
|
|
REM Call the script in the 'freezed' folder
|
|
|
|
echo Generating files using build_runner
|
|
|
|
cd freezed
|
|
|
|
REM Allow execution permissions on CI
|
|
|
|
chmod +x generate_freezed.cmd
|
|
|
|
call generate_freezed.cmd %*
|
2023-08-14 20:34:01 +00:00
|
|
|
|
|
|
|
REM Return to the main script directory
|
2023-08-03 00:48:04 +00:00
|
|
|
cd ..
|
|
|
|
|
2023-08-14 20:34:01 +00:00
|
|
|
echo Generating svg files using flowy_svg
|
|
|
|
cd flowy_icons
|
|
|
|
REM Allow execution permissions on CI
|
|
|
|
chmod +x generate_flowy_icons.cmd
|
|
|
|
call generate_flowy_icons.cmd %*
|
|
|
|
|
2023-07-03 14:07:11 +00:00
|
|
|
REM Return to the original directory
|
|
|
|
cd /d "%original_dir%"
|