mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-09-11 13:56:29 +03:00
9 lines
252 B
Bash
Executable File
9 lines
252 B
Bash
Executable File
#!/bin/bash
|
|
set -Eeuo pipefail
|
|
|
|
rust_version=$(grep '^rust-version' packages/hurl/Cargo.toml | cut -f2 -d'"')
|
|
curl https://sh.rustup.rs -sSfkL | sh -s -- -y --default-toolchain "$rust_version"
|
|
~/.cargo/bin/rustc --version
|
|
~/.cargo/bin/cargo --version
|
|
|