Skip to content

Commit

Permalink
fix: macos dev install script (#95)
Browse files Browse the repository at this point in the history
* fix: macos dev install script

- fix rustup install command
- remove brew install rust
- install stable rust using rustup

* fix: init rustup after installing from brew
  • Loading branch information
laosb authored Nov 21, 2024
1 parent fdde906 commit 7409abc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/macos_1_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,13 @@ install_if_missing() {
}

install_if_missing flutter "Flutter" "--cask flutter"
install_if_missing rustc "Rust" "rust"
install_if_missing rustup "rustup"
install_if_missing rustup "rustup" "rustup"

brew install lmdb create-dmg protobuf

rustup-init -y
. "$HOME/.cargo/env"
rustup default stable
rustup target add x86_64-apple-darwin
rustup target add aarch64-apple-darwin

Expand Down

0 comments on commit 7409abc

Please sign in to comment.