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
[flutter]: config flowy dev script
appflowye588f15277ec
diff --git a/app_flowy/lib/workspace/presentation/home/home_screen.dart b/app_flowy/lib/workspace/presentation/home/home_screen.dartindex 3283aaa928..30cede8c21 100644--- a/app_flowy/lib/workspace/presentation/home/home_screen.dart+++ b/app_flowy/lib/workspace/presentation/home/home_screen.dart@@ -129,6 +129,13 @@ class HomeScreen extends StatelessWidget {.constrained(minWidth: 500).positioned(left: layout.homePageLOffset, right: layout.homePageROffset, bottom: 0, top: 0, animate: true).animate(layout.animDuration, Curves.easeOut),+ bubble+ .positioned(+ right: 20,+ bottom: 16,+ animate: true,+ )+ .animate(layout.animDuration, Curves.easeOut),editPannel.animatedPanelX(duration: layout.animDuration.inMilliseconds * 0.001,@@ -136,13 +143,6 @@ class HomeScreen extends StatelessWidget {isClosed: !layout.showEditPannel,).positioned(right: 0, top: 0, bottom: 0, width: layout.editPannelWidth),- bubble- .positioned(- right: 20,- bottom: 20,- animate: true,- )- .animate(layout.animDuration, Curves.easeOut),],);}diff --git a/env.mk b/env.mknew file mode 100644index 0000000000..f16117bd59--- /dev/null+++ b/env.mk@@ -0,0 +1,10 @@++flowy_dev: install_rust+ cargo make flowy_dev++install_rust:+ #https://rust-lang.github.io/rustup/installation/other.html+ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer+ curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y+ echo 'export PATH="$$HOME/.cargo/bin:$$PATH"' >> ~/.bash_profile+ source ~/.bash_profile\ No newline at end of filediff --git a/scripts/makefile/env.toml b/scripts/makefile/env.tomlindex 1defbfc1c3..604672f039 100644--- a/scripts/makefile/env.toml+++ b/scripts/makefile/env.toml@@ -1,43 +1,45 @@-[tasks.env_setup]+[tasks.flowy_dev]+run_task = { name = ["install_targets","install_diesel", "install_protobuf", "install_tools", "install_flutter"] }++[tasks.install_diesel]script = """brew install sqlite3cargo install diesel_cli --no-default-features --features sqlite"""-[tasks.install_sqlite3]+[tasks.install_targets]script = """-brew install sqlite3-cargo install diesel_cli --no-default-features --features sqlite+rustup target add x86_64-apple-ios+rustup target add x86_64-apple-darwin+rustup target add aarch64-apple-ios+rustup target add aarch64-apple-darwin"""-[tasks.install_rust]+[tasks.install_protobuf]script = """-echo 'install rust'-sudo xcode-select -s /Applications/Xcode.app/Contents/Developer-curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y-echo 'export PATH="$$HOME/.cargo/bin:$$PATH"' >> ~/.bash_profile-source ~/.bash_profile+brew install [email protected]+#brew tap dart-lang/dart+#brew install dart++#https://pub.dev/packages/protoc_plugin+pub global activate protoc_plugin+cargo install --version 2.20.0 protobuf-codegen"""[tasks.install_tools]script = """-#targets-rustup target add x86_64-apple-darwin--#tools-echo 'install tools'rustup component add rustfmtcargo install cargo-expandcargo install cargo-watchcargo install cargo-cachecargo install bunyan+"""-#protobuf code gen env-brew install [email protected]-brew tap dart-lang/dart-brew install dart-pub global activate protoc_plugin--cargo install --version 2.20.0 protobuf-codegen+[tasks.install_flutter]+script = """+echo "[❤️] Follow the https://flutter.dev/docs/get-started/install instructions to install the flutter, skip if you already installed."+echo "Switch to dev channel with command: flutter channel dev""""++