mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add 'backup-rust' and 'restore-rust' build targets
backup-rust moves src/rust up, out of the build directory and restore-rust moves it back. For use by build automation.
This commit is contained in:
parent
c0e79daff9
commit
f129b3d0c5
1 changed files with 13 additions and 0 deletions
13
Makefile.in
13
Makefile.in
|
@ -254,3 +254,16 @@ bindings: $(AUTOGEN_SRC_servo)
|
|||
package:
|
||||
|
||||
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