mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-25 20:12:14 +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
|
|
|