mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
76 lines
1.7 KiB
TOML
76 lines
1.7 KiB
TOML
[tasks.flowy_dev]
|
||
run_task = { name = ["install_targets","install_diesel", "install_protobuf"] }
|
||
|
||
[tasks.install_diesel]
|
||
script = """
|
||
brew install sqlite3
|
||
cargo install diesel_cli --no-default-features --features sqlite
|
||
"""
|
||
|
||
[tasks.install_targets]
|
||
script = """
|
||
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_protobuf]
|
||
script = """
|
||
brew install protobuf@3.13
|
||
|
||
# Custom dart:
|
||
#brew tap dart-lang/dart
|
||
#brew install dart
|
||
#pub global activate protoc_plugin
|
||
|
||
#https://pub.dev/packages/protoc_plugin
|
||
dart pub global activate protoc_plugin
|
||
|
||
cargo install --version 2.20.0 protobuf-codegen
|
||
"""
|
||
|
||
[tasks.install_tools]
|
||
script = """
|
||
rustup component add rustfmt
|
||
cargo install cargo-expand
|
||
cargo install cargo-watch
|
||
cargo install cargo-cache
|
||
cargo install bunyan
|
||
"""
|
||
|
||
[tasks.install_cocoapods]
|
||
script = """
|
||
# execute "xcode-select --install" before if "extconf.rb failed" error occurs
|
||
sudo gem install cocoapods
|
||
"""
|
||
|
||
[tasks.install_rbenv]
|
||
script = """
|
||
brew install rbenv
|
||
rbenv init
|
||
rbenv install 2.7.1
|
||
rbenv global 2.7.1
|
||
|
||
# https://github.com/rbenv/rbenv
|
||
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/main/bin/rbenv-doctor | bash
|
||
"""
|
||
|
||
[tasks.install_fish]
|
||
script = """
|
||
brew install fish
|
||
|
||
# https://stackoverflow.com/questions/26208231/modifying-path-with-fish-shell
|
||
# Export the PATH using the command:
|
||
# set -Ua fish_user_paths the_path_you_want_to_export
|
||
"""
|
||
|
||
[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"
|
||
"""
|
||
|
||
|
||
|