diff options
| author | Michael Forney <mforney@mforney.org> | 2016-07-15 19:17:48 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-07-16 14:23:20 -0700 |
| commit | 78c4cc0023cd0e9e6df03a07f396017da48e336c (patch) | |
| tree | 1d1e77577e197608136d9867e16ca1bbd2cdec7e /ninja.rc | |
| parent | b6392fac15793878df45a57d049a063b4e781e2c (diff) | |
Don't list git repository files as outputs
This way, ninja -t clean will work as expected.
Diffstat (limited to 'ninja.rc')
| -rw-r--r-- | ninja.rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -142,7 +142,7 @@ fn file { mode=`{printf %4s $3 | tr ' ' 0 | tail -c 4} build $out githash $2 '|' '$builddir/$repo.stamp' scripts/hash.rc ; with\ args 10$mode' '$1 - tree_inputs=($tree_inputs $out) + index_inputs=($index_inputs $out) if(! ~ $mode 0755 0644) tree_perms=($tree_perms 10$mode' '$1) } @@ -161,7 +161,7 @@ fn sym { out='$builddir/$repo.hash'/$1 build $out githash '|' '$builddir/$repo.stamp' scripts/hash.rc ; with\ args 120000' '$1' '$2 - tree_inputs=($tree_inputs $out) + index_inputs=($index_inputs $out) } status=() } |
