Files
node/tools
Ben Noordhuis a493dab2e7 cpplint: make it possible to run outside git repo
cpplint uses the top-level .git directory to determine what the root is
for #include guards.  If it doesn't find a .git directory, it walks up
all the way to the system root and subsequently complains that guards
must be written as HOME_USER_SRC_NODE_SRC_FILENAME_H_.

This commit replaces the .git-based path munging with a fixed root path
relative to the location of the cpplint script, making it possible to
successfully run `make test` from an extracted tarball.

Fixes: https://github.com/nodejs/node/issues/2693
PR-URL: https://github.com/nodejs/node/pull/2710
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
2015-09-06 09:28:42 +02:00
..
2015-06-29 19:02:17 +02:00
2015-01-16 09:13:23 +01:00
2013-06-06 15:35:59 -07:00
2015-06-02 19:27:49 +02:00
2013-11-10 15:15:34 -08:00
2014-07-31 08:53:24 -07:00
2015-08-23 17:59:43 -04:00