Skip to content

Commit

Permalink
Auto merge of #37651 - alexcrichton:fix-deps, r=alexcrichton
Browse files Browse the repository at this point in the history
rustbuild: Fix dependencies of check-error-index

This depends on the error index actually existing rather than just the tool to
generate the error index.
  • Loading branch information
bors authored Nov 9, 2016
2 parents 0491a23 + 860c6ab commit 966c700
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bootstrap/check.rs
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,9 @@ pub fn docs(build: &Build, compiler: &Compiler) {
pub fn error_index(build: &Build, compiler: &Compiler) {
println!("Testing error-index stage{}", compiler.stage);

let output = testdir(build, compiler.host).join("error-index.md");
let dir = testdir(build, compiler.host);
t!(fs::create_dir_all(&dir));
let output = dir.join("error-index.md");
build.run(build.tool_cmd(compiler, "error_index_generator")
.arg("markdown")
.arg(&output)
Expand Down

0 comments on commit 966c700

Please sign in to comment.