diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-06 23:19:37 +0530 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2015-03-08 01:34:38 +0530 |
commit | cfdad335bd2cdadb446f9e7a5fbd907506cdadbc (patch) | |
tree | ad20680f34b70345c8746370a1b69695a1488946 /servobuild.example | |
parent | 4f3feed2bea957de0910a136d33dff4fb3c07a22 (diff) | |
download | servo-cfdad335bd2cdadb446f9e7a5fbd907506cdadbc.tar.gz servo-cfdad335bd2cdadb446f9e7a5fbd907506cdadbc.zip |
Add support for $CARGO_HOME in servobuild
Diffstat (limited to 'servobuild.example')
-rw-r--r-- | servobuild.example | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/servobuild.example b/servobuild.example index be490f2626e..1396c73126e 100644 --- a/servobuild.example +++ b/servobuild.example @@ -2,11 +2,17 @@ # Be sure to set the cache-dir correctly, otherwise extra snapshots # may get downloaded +# Paths starting with "./" are relative to the repo root + # Tool options [tools] # Where Rust compiler snapshots and other downloads will be stored. Can be # shared by multiple Servo reposities. Defaults to <servo-repo>/.servo -cache-dir = "~/.servo" +cache-dir = "./.servo" + +# Where cargo stores all of its clones Defaults to <servo-repo>/.cargo +cargo-home-dir = "./.cargo" + # If system-rust is true, will use rustc/rustdoc from the path, or if # rust-root is specified, will make sure that rust-root is in the path # when building. Similarly for Cargo. This takes care of PATH as well as |