generate_env.cmd 508 B

1234567891011121314151617
  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 Navigate to the project root
  7. cd ..\..\..\appflowy_flutter
  8. REM Navigate to the appflowy_flutter directory and generate files
  9. echo Generating env files
  10. call flutter packages pub get >nul 2>&1 && call dart run build_runner clean && call dart run build_runner build --delete-conflicting-outputs
  11. echo Done generating env files
  12. cd /d "%original_dir%"