Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.
Dart blogconfluence-alternativecontent-managementcontent-servicesdocumentationflutternote-takingnotion-alternativeproject-managementtask-managementteam-collaborationwiki
ci: no more `sed`
Hieu288afbe68bec
diff --git a/.github/workflows/dart_lint.yml b/.github/workflows/dart_lint.ymlindex 73378109ec..56cc033292 100644--- a/.github/workflows/dart_lint.yml+++ b/.github/workflows/dart_lint.yml@@ -35,8 +35,7 @@ jobs:working-directory: frontend/app_flowyrun: |flutter pub run easy_localization:generate -S ./assets/translations -f keys -O lib/generated -o locale_keys.g.dart- sed -i '/generate: true/s/true/false/g' pubspec.yaml- flutter pub get+ flutter packages pub getflutter packages pub run build_runner build --delete-conflicting-outputs- name: flutter analyzeworking-directory: frontend/app_flowydiff --git a/.github/workflows/dart_test.yml b/.github/workflows/dart_test.ymlindex 4261e6e9b9..6ce615bedc 100644--- a/.github/workflows/dart_test.yml+++ b/.github/workflows/dart_test.yml@@ -35,8 +35,7 @@ jobs:working-directory: frontend/app_flowyrun: |flutter pub run easy_localization:generate -S ./assets/translations -f keys -O lib/generated -o locale_keys.g.dart- sed -i '/generate: true/s/true/false/g' pubspec.yaml- flutter pub get+ flutter packages pub getflutter packages pub run build_runner build --delete-conflicting-outputs- name: Build FlowySDKworking-directory: frontenddiff --git a/frontend/scripts/makefile/flutter.toml b/frontend/scripts/makefile/flutter.tomlindex 02ff1f7ccd..753b57132a 100644--- a/frontend/scripts/makefile/flutter.toml+++ b/frontend/scripts/makefile/flutter.toml@@ -187,33 +187,19 @@ script = ["""cd app_flowyflutter clean- sed -i '/generate: true/s/true/false/g' pubspec.yaml- flutter pub get+ flutter packages pub getflutter packages pub run build_runner build --delete-conflicting-outputs"""]-# TODO: Add support for Windows.-# [tasks.generate_freezed_files.windows]-# script_runner = "@duckscript"-# script = [-# """-# cd ./app_flowy/-# exec cmd.exe /c flutter clean-# exec cmd.exe /c flutter pub get-# exec cmd.exe /c flutter pub run easy_localization:generate -S assets/translations/-# exec cmd.exe /c flutter pub run easy_localization:generate -f keys -o locale_keys.g.dart -S assets/translations-# """-# ]--[tasks.generate_freezed_files.mac]-script_runner = "@shell"+[tasks.generate_freezed_files.windows]+script_runner = "@duckscript"script = ["""- cd app_flowy- flutter clean- sed -i '' '/generate: true/s/true/false/g' pubspec.yaml- flutter pub get- flutter packages pub run build_runner build --delete-conflicting-outputs+ cd ./app_flowy/+ exec cmd.exe /c flutter clean+ exec cmd.exe /c flutter packages pub get+ exec cmd.exe /c flutter packages pub get+ exec cmd.exe /c flutter packages pub run build_runner build --delete-conflicting-outputs"""]\ No newline at end of file