mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-06-29 02:03:10 -04:00
* fix: pages overflow when selecting homepage * fix: settings site issues * chore: try to fix windows ci * test: add tests * fix: shareblock state update * fix: pages overflow when selecting homepage * fix: view name doesn't update after publishing * chore: add translations * feat: close popup menu after unpublishing page * feat: align the published page name with header
42 lines
1.2 KiB
Batchfile
42 lines
1.2 KiB
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 Navigate to the project root
|
|
cd ..\..\..\appflowy_flutter
|
|
|
|
REM Navigate to the appflowy_flutter directory and generate files
|
|
echo Generating files for appflowy_flutter
|
|
REM call flutter packages pub get
|
|
call flutter packages pub get
|
|
call dart run build_runner clean && call dart run build_runner build -d
|
|
echo Done generating files for appflowy_flutter
|
|
|
|
echo Generating files for packages
|
|
cd packages
|
|
for /D %%d in (*) do (
|
|
REM Navigate into the subdirectory
|
|
cd "%%d"
|
|
|
|
REM Check if the subdirectory contains a pubspec.yaml file
|
|
if exist "pubspec.yaml" (
|
|
echo Generating freezed files in %%d...
|
|
echo Please wait while we clean the project and fetch the dependencies.
|
|
call flutter packages pub get
|
|
call flutter pub get
|
|
call dart run build_runner clean && call dart run build_runner build -d
|
|
echo Done running build command in %%d
|
|
) else (
|
|
echo No pubspec.yaml found in %%d, it can't be a Dart project. Skipping.
|
|
)
|
|
|
|
REM Navigate back to the packages directory
|
|
cd ..
|
|
)
|
|
|
|
REM Return to the original directory
|
|
cd /d "%original_dir%"
|