#!/bin/sh set -e mkdir -p tmp cd tmp git clone https://github.com/rust-lang/libc.git || true git clone https://github.com/rust-lang-nursery/bitflags.git || true git clone https://github.com/retep998/winapi-rs.git || true git clone https://github.com/serde-rs/serde.git || true git clone https://github.com/rust-lang-deprecated/rustc-serialize.git || true git clone https://github.com/rust-lang-nursery/rand.git || true git clone https://github.com/rust-lang-nursery/log.git || true git clone https://github.com/rust-lang-nursery/lazy-static.rs.git || true for package in libc bitflags winapi-rs serde rustc-serialize rand log lazy-static.rs; do pushd $package RUST_BACKTRACE=1 cargo run --manifest-path ../../Cargo.toml -- faircode list popd done echo "All ok!"