mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Merge pull request #418 from brson/wip
Add 'backup-rust' and 'restore-rust' build targets
This commit is contained in:
commit
49edf85f5d
1 changed files with 13 additions and 0 deletions
13
Makefile.in
13
Makefile.in
|
@ -254,3 +254,16 @@ bindings: $(AUTOGEN_SRC_servo)
|
||||||
package:
|
package:
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# Build commands for backing up and restoring the Rust build.
|
||||||
|
# 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
|
||||||
|
# `make backup-rust` and `make restore-rust`.
|
||||||
|
|
||||||
|
.PHONY: backup-rust restore-rust
|
||||||
|
backup-rust:
|
||||||
|
mv src/rust ..
|
||||||
|
|
||||||
|
restore-rust:
|
||||||
|
rm -rf src/rust
|
||||||
|
mv ../rust src/
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue