mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
auto merge of #763 : metajack/servo/backup-restore-fix, r=jdm
This commit is contained in:
commit
e96368199f
1 changed files with 5 additions and 1 deletions
|
@ -318,10 +318,14 @@ endif
|
||||||
# Because Rust takes a very long time to build and changes infrequently,
|
# Because Rust takes a very long time to build and changes infrequently,
|
||||||
# the bots want to reuse it between builds. They can do so by running
|
# the bots want to reuse it between builds. They can do so by running
|
||||||
# `make backup-rust` and `make restore-rust`.
|
# `make backup-rust` and `make restore-rust`.
|
||||||
|
#
|
||||||
|
# backup-rust is run before the build directory is cleaned. if it fails, that's ok.
|
||||||
|
#
|
||||||
|
# restore-rust is run after configure and before invoking make. if it fails, we must abort.
|
||||||
|
|
||||||
.PHONY: backup-rust restore-rust
|
.PHONY: backup-rust restore-rust
|
||||||
backup-rust:
|
backup-rust:
|
||||||
mv src/compiler/rust ..
|
-mv src/compiler/rust ..
|
||||||
|
|
||||||
restore-rust:
|
restore-rust:
|
||||||
if [ -d ../rust ]; then rm -rf src/compiler/rust; mv ../rust src/compiler/; fi
|
if [ -d ../rust ]; then rm -rf src/compiler/rust; mv ../rust src/compiler/; fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue