about summary refs log tree commit diff
path: root/src/libsyntax
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-08-22 05:39:53 -0700
committerGitHub <noreply@github.com>2016-08-22 05:39:53 -0700
commit57a1f684cd14d8f042b4356d8c1518ca3e02cecf (patch)
treedb0d953f8b21df0a01602569357c2c64c6152bf6 /src/libsyntax
parentc44534ef5a6b95cb032c6ce28c8893cf530903b9 (diff)
parentbe8df50c9f3a8e9801ede314e6ab96395c349711 (diff)
downloadrust-57a1f684cd14d8f042b4356d8c1518ca3e02cecf.tar.gz
rust-57a1f684cd14d8f042b4356d8c1518ca3e02cecf.zip
Auto merge of #35848 - Mark-Simulacrum:make-tidy-in-tree, r=alexcrichton
Check that executable file is in-tree before failing tidy check

I silenced stdout and stderr for ls-files, not sure if that's appropriate (is `make tidy` intended to give debugging information)? Otherwise it prints each file it find to stdout/stderr, which currently prints nothing (only executable files are checked).

I have not done major testing regarding the behavior of ls-files when the file is ignored, but judging by the man page everything should be fine.

I've duplicated the code which makes the path git-friendly from the `Cargo.lock` checking code; I can extract that into a common helper if wanted (it's only two lines).

Fixes #35689.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions