Skip to content

Commit

Permalink
Auto merge of #2602 - durka:patch-5, r=alexcrichton
Browse files Browse the repository at this point in the history
fix rerun-if-changed documentation

The documentation corresponded to the initial proposed implementation, which was changed to remove special handling of directories before it was ever merged.

closes #2599
r? @alexcrichton
  • Loading branch information
bors committed Apr 21, 2016
2 parents 09c0887 + 1cd1fa0 commit 867627c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/doc/build-script.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,12 @@ crate is built:
build script should be re-run if it changes (detected by a more-recent
last-modified timestamp on the file). Normally build scripts are re-run if
any file inside the crate root changes, but this can be used to scope changes
to just a small set of files. If this path points to a directory the entire
directory will be traversed for changes.
to just a small set of files. (If this path points to a directory the entire
directory will not be traversed for changes -- only changes to the timestamp
of the directory itself (which corresponds to some types of changes within the
directory, depending on platform) will trigger a rebuild. To request a re-run
on any changes within an entire directory, print a line for the directory and
another line for everything inside it, recursively.)

Any other element is a user-defined metadata that will be passed to
dependencies. More information about this can be found in the [`links`][links]
Expand Down

0 comments on commit 867627c

Please sign in to comment.