]> git.ozlabs.org Git - ccan-lca-2011.git/commit
ccanlint: -k should not pollute module directory.
authorRusty Russell <rusty@rustcorp.com.au>
Sun, 9 Jan 2011 02:49:15 +0000 (13:19 +1030)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 9 Jan 2011 02:49:15 +0000 (13:19 +1030)
commit1f45ec04761cd99011445c6d41cd64a3951f77e0
treeb3b98bfe13c998ef7fd2de9d3700cf34f8ce2c8e
parent020f8ef45a751b9fc9f3739e8e8f8f9ddae69be8
ccanlint: -k should not pollute module directory.

It leads to numerous problems, such as the next ccanlint getting confused
trying to compile examples, and "-k examples_compile -k examples_exist"
giving bogus errors.

So instead we leave the temporary dir lying around and delete
individual files which aren't marked "keep".
tools/ccanlint/ccanlint.c
tools/ccanlint/tests/examples_compile.c
tools/ccanlint/tests/tests_coverage.c
tools/tools.c
tools/tools.h