Skip to content

Commit

Permalink
Merge pull request #418 from brson/wip
Browse files Browse the repository at this point in the history
Add 'backup-rust' and 'restore-rust' build targets
  • Loading branch information
metajack committed May 8, 2013
2 parents f55b873 + f129b3d commit 49edf85
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Makefile.in
Expand Up @@ -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/

0 comments on commit 49edf85

Please sign in to comment.