Updated installation check in install-rust just recipe.
This commit is contained in:
parent
90c750a6ad
commit
6cdc1f6aa9
1 changed files with 2 additions and 2 deletions
4
justfile
4
justfile
|
@ -6,7 +6,7 @@ install-nix:
|
||||||
|
|
||||||
# Check if Rust is installed, if not install it
|
# Check if Rust is installed, if not install it
|
||||||
install-rust:
|
install-rust:
|
||||||
@if ! command -v rustc &> /dev/null; then \
|
@if ! command -v rustup &> /dev/null; then \
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; \
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; \
|
||||||
. {{scripts_dir}}/update_path.sh; \
|
. {{scripts_dir}}/update_path.sh; \
|
||||||
fi
|
fi
|
||||||
|
@ -37,6 +37,6 @@ install-cosmo:
|
||||||
else \
|
else \
|
||||||
echo "Unsupported shell: $$current_shell"; \
|
echo "Unsupported shell: $$current_shell"; \
|
||||||
fi; \
|
fi; \
|
||||||
fi
|
fiai
|
||||||
|
|
||||||
all: install-nix install-rust install-wasm-target install-openssl install-cosmo
|
all: install-nix install-rust install-wasm-target install-openssl install-cosmo
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue