Newer
Older
#!/usr/bin/env bash

Jeremy Soller
committed
set -e
echo "Downloading latest pkgutils"
git submodule update --init --remote pkgutils
cargo update --manifest-path pkgutils/Cargo.toml
echo "Update rust nightly"
rustup update nightly
echo "Downloading rust source"
rustup component add rust-src
if [ -z "$(which cargo-config)" ]
then
echo "Installing cargo-config"
cargo install -f cargo-config
fi

Jeremy Soller
committed
echo "cook.sh is ready to use"