Commit 3e38cdec authored by Christoph Häfner's avatar Christoph Häfner

Add rust-activator

its easy to install rust via rustup but this also warms up some caches
(cargo and docker) by installing the first things.
parent f6a7a2c7
#!/usr/bin/env bash
# Logging stuff.
function m_header() { echo -e "\n\033[1m$@\033[0m"; }
function m_success() { echo -e " \033[1;32m✔\033[0m $@"; }
function m_error() { echo -e " \033[1;31m✖\033[0m $@"; }
function m_arrow() { echo -e " \033[1;33m➜\033[0m $@"; }
m_header "Install rust development Environment"
curl -sSf | sh -s -- -y
m_success "Installed rust and cargo via rustup"
docker pull rust
m_success "Pulled current rust docker image"
sudo apt-get install openssl libssl-dev pkg-config clang llvm-dev libclang-dev
m_success "Installed dependencies for cargo-crev"
cargo install -f cargo-crev
cargo crev fetch all
m_success "Installed cargo-crev"
m_success "Successfully installed rust development Environment"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment