Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'backup-rust' and 'restore-rust' build targets #418

Merged
merged 1 commit into from May 8, 2013
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

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.
  • Loading branch information
brson committed May 7, 2013
commit f129b3d0c5930a2a248fc6f617be3fb211699b9b
@@ -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/
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.