mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
[flutter]: add some scripts
This commit is contained in:
parent
6130735bab
commit
c90cdb90d7
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,3 +12,4 @@ Cargo.lock
|
||||
**/*.db
|
||||
.idea/
|
||||
/flowy-test/
|
||||
.ruby-version
|
@ -55,4 +55,4 @@ SPEC CHECKSUMS:
|
||||
|
||||
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
|
||||
|
||||
COCOAPODS: 1.10.1
|
||||
COCOAPODS: 1.11.2
|
||||
|
@ -7,11 +7,11 @@ edition = "2018"
|
||||
[lib]
|
||||
name = "dart_ffi"
|
||||
# this value will change depending on the target os
|
||||
# for iOS it would be `cdylib`
|
||||
# for Macos it would be `cdylib`
|
||||
# for iOS it would be `rlib`
|
||||
# for Macos it would be `rlib`
|
||||
# for android it would be `c-dylib`
|
||||
# default cdylib
|
||||
crate-type = ["cdylib"]
|
||||
# default rlib
|
||||
crate-type = ["rlib"]
|
||||
|
||||
|
||||
[dependencies]
|
||||
|
@ -39,6 +39,32 @@ 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."
|
||||
|
Loading…
Reference in New Issue
Block a user