feat:IInline math equation (#2949)

This commit is contained in:
Lucas.Xu
2023-07-09 10:03:22 +07:00
committed by GitHub
parent 4c17298432
commit ff9b3c56c5
43 changed files with 500 additions and 120 deletions

View File

@ -10,12 +10,14 @@ cd ../../../appflowy_flutter
# Navigate to the appflowy_flutter directory and generate files
echo "Generating files for appflowy_flutter"
flutter clean >/dev/null 2>&1 && flutter packages pub get >/dev/null 2>&1 && dart run build_runner clean && dart run build_runner build -d
# flutter clean >/dev/null 2>&1 && flutter packages pub get >/dev/null 2>&1 && dart run build_runner clean &&
flutter packages pub get >/dev/null 2>&1
dart run build_runner build -d
echo "Done generating files for appflowy_flutter"
echo "Generating files for packages"
cd packages
for d in */ ; do
for d in */; do
# Navigate into the subdirectory
cd "$d"
@ -23,7 +25,8 @@ for d in */ ; do
if [ -f "pubspec.yaml" ]; then
echo "Generating freezed files in $d..."
echo "Please wait while we clean the project and fetch the dependencies."
flutter clean >/dev/null 2>&1 && flutter packages pub get >/dev/null 2>&1 && dart run build_runner clean && dart run build_runner build -d
flutter packages pub get >/dev/null 2>&1
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."
@ -34,4 +37,4 @@ for d in */ ; do
done
# Return to the original directory
cd "$original_dir"
cd "$original_dir"

0
frontend/scripts/code_generation/generate.sh Normal file → Executable file
View File

View File

@ -10,8 +10,6 @@ cd /d "%~dp0"
cd ..\..\..\appflowy_flutter
call flutter clean
call flutter packages pub get
echo Specifying source directory for AppFlowy Localizations.

View File

@ -10,8 +10,6 @@ cd "$(dirname "$0")"
# Navigate to the project root
cd ../../../appflowy_flutter
flutter clean
flutter packages pub get
echo "Specifying source directory for AppFlowy Localizations."