generate.cmd 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. @echo off
  2. REM Store the current working directory
  3. set "original_dir=%CD%"
  4. REM Change the current working directory to the script's location
  5. cd /d "%~dp0"
  6. REM Call the script in the 'language_files' folder
  7. echo Generating files using easy_localization
  8. cd language_files
  9. REM Allow execution permissions on CI
  10. chmod +x generate_language_files.cmd
  11. call generate_language_files.cmd %*
  12. REM Return to the main script directory
  13. cd ..
  14. REM Call the script in the 'freezed' folder
  15. echo Generating files using build_runner
  16. cd freezed
  17. REM Allow execution permissions on CI
  18. chmod +x generate_freezed.cmd
  19. call generate_freezed.cmd %*
  20. REM Return to the main script directory
  21. cd ..
  22. echo Generating env files using build_runner
  23. cd env
  24. REM Allow execution permissions on CI
  25. chmod +x generate_env.cmd
  26. call generate_env.cmd %*
  27. REM Return to the main script directory
  28. cd ..
  29. echo Generating svg files using flowy_svg
  30. cd flowy_icons
  31. REM Allow execution permissions on CI
  32. chmod +x generate_flowy_icons.cmd
  33. call generate_flowy_icons.cmd %*
  34. REM Return to the original directory
  35. cd /d "%original_dir%"