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
3
.gitignore
vendored
3
.gitignore
vendored
@ -11,4 +11,5 @@ Cargo.lock
|
|||||||
**/target/
|
**/target/
|
||||||
**/*.db
|
**/*.db
|
||||||
.idea/
|
.idea/
|
||||||
/flowy-test/
|
/flowy-test/
|
||||||
|
.ruby-version
|
@ -55,4 +55,4 @@ SPEC CHECKSUMS:
|
|||||||
|
|
||||||
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
|
PODFILE CHECKSUM: 6eac6b3292e5142cfc23bdeb71848a40ec51c14c
|
||||||
|
|
||||||
COCOAPODS: 1.10.1
|
COCOAPODS: 1.11.2
|
||||||
|
@ -7,11 +7,11 @@ edition = "2018"
|
|||||||
[lib]
|
[lib]
|
||||||
name = "dart_ffi"
|
name = "dart_ffi"
|
||||||
# this value will change depending on the target os
|
# this value will change depending on the target os
|
||||||
# for iOS it would be `cdylib`
|
# for iOS it would be `rlib`
|
||||||
# for Macos it would be `cdylib`
|
# for Macos it would be `rlib`
|
||||||
# for android it would be `c-dylib`
|
# for android it would be `c-dylib`
|
||||||
# default cdylib
|
# default rlib
|
||||||
crate-type = ["cdylib"]
|
crate-type = ["rlib"]
|
||||||
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
@ -39,6 +39,32 @@ cargo install cargo-cache
|
|||||||
cargo install bunyan
|
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]
|
[tasks.install_flutter]
|
||||||
script = """
|
script = """
|
||||||
echo "[❤️] Follow the https://flutter.dev/docs/get-started/install instructions to install the flutter, skip if you already installed."
|
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