mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
update some doc
This commit is contained in:
7
scripts/install_rust.sh
Executable file
7
scripts/install_rust.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/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
|
15
scripts/install_tool.sh
Executable file
15
scripts/install_tool.sh
Executable file
@ -0,0 +1,15 @@
|
||||
#!/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
|
||||
|
||||
#protobuf code gen env
|
||||
brew install protobuf@3.13
|
||||
cargo install --version 2.20.0 protobuf-codegen
|
Reference in New Issue
Block a user