Skip to content

Commit

Permalink
Check rust before install (#371)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xh3rman authored Jan 13, 2025
1 parent fdff84a commit 509c37d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ build:
install: install-typeshare install-postgres install-diesel

install-rust:
@echo Install rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
@echo Install Rust
@which rustup &>/dev/null || curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
@source ~/.cargo/env
@rustc --version

install-typeshare:
@echo Install typeshare-cli
Expand Down

0 comments on commit 509c37d

Please sign in to comment.