mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
config sdk log
This commit is contained in:
@ -12,4 +12,5 @@ rustup show
|
||||
# 2. ~/.bashrc
|
||||
# 3. ~/.profile
|
||||
# 4. ~/.zshrc
|
||||
cargo make desktop
|
||||
cargo make desktop
|
||||
#cargo make gen_dart_event
|
@ -1,3 +0,0 @@
|
||||
#!/bin/sh
|
||||
#!/usr/bin/env fish
|
||||
cargo make gen_dart_event
|
@ -1,4 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
brew install sqlite3
|
||||
cargo install diesel_cli --no-default-features --features sqlite
|
@ -1,7 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
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
|
@ -1,20 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
#targets
|
||||
rustup target add x86_64-apple-darwin
|
||||
|
||||
#tools
|
||||
echo 'install tools'
|
||||
rustup component add rustfmt
|
||||
cargo install cargo-expand
|
||||
cargo install cargo-watch
|
||||
cargo install cargo-cache
|
||||
cargo install bunyan
|
||||
|
||||
#protobuf code gen env
|
||||
brew install protobuf@3.13
|
||||
brew tap dart-lang/dart
|
||||
brew install dart
|
||||
pub global activate protoc_plugin
|
||||
|
||||
cargo install --version 2.20.0 protobuf-codegen
|
@ -25,7 +25,7 @@ description = "Build desktop targets."
|
||||
script = [
|
||||
"""
|
||||
cd rust-lib/
|
||||
cargo build --package=dart-ffi --target ${DESKTOP_TARGET} --features="observable"
|
||||
cargo build --package=dart-ffi --target ${DESKTOP_TARGET} --features="observable","http_server"
|
||||
cd ../
|
||||
""",
|
||||
]
|
||||
|
43
scripts/makefile/env.toml
Normal file
43
scripts/makefile/env.toml
Normal file
@ -0,0 +1,43 @@
|
||||
[tasks.env_setup]
|
||||
script = """
|
||||
brew install sqlite3
|
||||
cargo install diesel_cli --no-default-features --features sqlite
|
||||
"""
|
||||
|
||||
[tasks.install_sqlite3]
|
||||
script = """
|
||||
brew install sqlite3
|
||||
cargo install diesel_cli --no-default-features --features sqlite
|
||||
"""
|
||||
|
||||
[tasks.install_rust]
|
||||
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
|
||||
"""
|
||||
|
||||
[tasks.install_tools]
|
||||
script = """
|
||||
#targets
|
||||
rustup target add x86_64-apple-darwin
|
||||
|
||||
#tools
|
||||
echo 'install tools'
|
||||
rustup component add rustfmt
|
||||
cargo install cargo-expand
|
||||
cargo install cargo-watch
|
||||
cargo install cargo-cache
|
||||
cargo install bunyan
|
||||
|
||||
#protobuf code gen env
|
||||
brew install protobuf@3.13
|
||||
brew tap dart-lang/dart
|
||||
brew install dart
|
||||
pub global activate protoc_plugin
|
||||
|
||||
cargo install --version 2.20.0 protobuf-codegen
|
||||
"""
|
||||
|
Reference in New Issue
Block a user