Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
set -e
mkdir -p target
mkdir -p deps
git clone deps/semver
git clone deps/
git clone deps/curl-rust --branch bundle
git clone deps/rust-encoding
git clone deps/flate2-rs
git clone deps/glob
git clone deps/hamcrest-rust
git clone deps/tar-rs
git clone deps/libssh2-static-sys
git clone deps/openssl-static-sys
git clone deps/toml-rs
git clone deps/rust-url
git clone deps/git2-rs
git clone deps/link-config
git clone
rustc deps/semver/src/ --crate-type lib --crate-name semver --out-dir target -L target/
rustc deps/ --crate-type lib --crate-name docopt --out-dir target -L target/
rustc deps/rust-encoding/src/encoding/ --crate-type lib --crate-name encoding --out-dir target -L target/
OUT_DIR=../../../target/ gmake -C deps/flate2-rs/build/
rustc deps/flate2-rs/src/ --crate-type lib --crate-name flate2 --out-dir target -L target/
rustc deps/glob/src/ --crate-type lib --crate-name glob --out-dir target -L target/
rustc deps/hamcrest-rust/src/hamcrest/ --crate-type lib --crate-name hamcrest --out-dir target -L target/
rustc deps/tar-rs/src/ --crate-type lib --crate-name tar --out-dir target -L target/
rustc deps/libssh2-static-sys/src/ --crate-type lib --crate-name libssh2-static-sys --out-dir target -L target/
rustc deps/openssl-static-sys/src/ --crate-type lib --crate-name openssl-static-sys --out-dir target -L target/
rustc deps/toml-rs/src/ --crate-type lib --crate-name toml --out-dir target -L target/
rustc deps/rust-url/src/ --crate-type lib --crate-name url --out-dir target -L target/
rustc deps/ --crate-type dylib --crate-name docopt_macros --out-dir target -L target/
rustc deps/link-config/src/ --crate-type lib --crate-name link-config --out-dir target -L target/ --crate-type dylib
rustc deps/git2-rs/libgit2/src/ --crate-type lib --crate-name libgit2 --out-dir target -L target/
rustc deps/git2-rs/src/ --crate-type lib --crate-name git2 --out-dir target -L target/ --extern url=target/liburl.rlib
rustc deps/curl-rust/curl-sys/src/ --crate-type lib --crate-name curl-sys --out-dir target -L target/
rustc deps/curl-rust/src/ --crate-type lib --crate-name curl --out-dir target -L target/ --extern url=target/liburl.rlib
rustc cargo/src/cargo/ -L target --out-dir target --extern glob=target/libglob.rlib --extern semver=target/libsemver.rlib
rustc cargo/src/bin/ -L target --out-dir target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.