Move snapshot dir inside the source dir by default

This avoids changing any directories outside the repo, which is better for
some automation scenarios.

The servobuild.example file has a "cache-dir" setting that restores the
previous default location of `~/.servo`, which is useful for developers
working with multiple clones on the same machine.
This commit is contained in:
Matt Brubeck 2015-01-28 10:33:04 -08:00
parent 0f81e70882
commit 53135b2566
2 changed files with 8 additions and 3 deletions

View file

@ -1,5 +1,8 @@
# 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"
# 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