mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
28 lines
685 B
Batchfile
28 lines
685 B
Batchfile
|
@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 %*
|
||
|
|
||
|
REM Return to the original directory
|
||
|
cd /d "%original_dir%"
|