about summary refs log tree commit diff
path: root/src/bootstrap/mk
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2016-12-08 17:13:55 -0800
committerAlex Crichton <alex@alexcrichton.com>2016-12-08 17:14:44 -0800
commitd38db82b291afe172c9477b44ef99f70013010d9 (patch)
tree56bbb25262012eb6743895d40374abdbe43860b8 /src/bootstrap/mk
parent97bfeadfd8eb4db591d9fb0fcfef7472d7480415 (diff)
downloadrust-d38db82b291afe172c9477b44ef99f70013010d9.tar.gz
rust-d38db82b291afe172c9477b44ef99f70013010d9.zip
rustbuild: Implement distcheck
This commit implements the `distcheck` target for rustbuild which is only ever
run on our nightly bots. This essentially just creates a tarball, un-tars it,
and then runs a full build, validating that the release tarballs do indeed have
everything they need to build Rust.
Diffstat (limited to 'src/bootstrap/mk')
-rw-r--r--src/bootstrap/mk/Makefile.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bootstrap/mk/Makefile.in b/src/bootstrap/mk/Makefile.in
index b165048b7b6..ef02f21a34b 100644
--- a/src/bootstrap/mk/Makefile.in
+++ b/src/bootstrap/mk/Makefile.in
@@ -55,6 +55,8 @@ check-cargotest:
 	$(Q)$(BOOTSTRAP) test src/tools/cargotest $(BOOTSTRAP_ARGS)
 dist:
 	$(Q)$(BOOTSTRAP) dist $(BOOTSTRAP_ARGS)
+distcheck:
+	$(Q)$(BOOTSTRAP) test distcheck
 install:
 	$(Q)$(BOOTSTRAP) dist --install $(BOOTSTRAP_ARGS)
 tidy: