Permalink
Browse files

Updated jshint, fixed the nodejshint script, and changed to comma fir…

…st in hintcheck
  • Loading branch information...
1 parent 23015f4 commit d246c7b4fb7459ba723d028a3ca7791e352b0111 @tbranyen tbranyen committed Jun 12, 2011
Showing with 483 additions and 2,545 deletions.
  1. +31 −29 util/hint-check.js
  2. +448 −2,510 util/jshint.js
  3. +4 −6 util/nodejshint.js
View
@@ -2,42 +2,44 @@ var nodejshint = require( './nodejshint.js' ).test,
files = [
// Test convenience api
- 'lib/blob.js',
- 'lib/commit.js',
- 'lib/error.js',
- 'lib/index.js',
- 'lib/object.js',
- 'lib/oid.js',
- 'lib/ref.js',
- 'lib/repo.js',
- 'lib/revwalk.js',
- 'lib/sig.js',
- 'lib/tree.js',
- 'lib/tree_entry.js',
- 'lib/util.js',
+ 'lib/blob.js'
+, 'lib/commit.js'
+, 'lib/error.js'
+, 'lib/index.js'
+, 'lib/object.js'
+, 'lib/oid.js'
+, 'lib/ref.js'
+, 'lib/repo.js'
+, 'lib/revwalk.js'
+, 'lib/sig.js'
+, 'lib/tree.js'
+, 'lib/tree_entry.js'
+, 'lib/util.js'
// Test unit test
- 'test/convenience-repo.js',
- 'test/index.js',
- 'test/raw-blob.js',
- 'test/raw-commit.js',
- 'test/raw-error.js',
- 'test/raw-obj.js',
- 'test/raw-oid.js',
- 'test/raw-ref.js',
- 'test/raw-repo.js',
- 'test/raw-revwalk.js',
+, 'test/convenience-repo.js'
+, 'test/index.js'
+, 'test/raw-blob.js'
+, 'test/raw-commit.js'
+, 'test/raw-error.js'
+, 'test/raw-object.js'
+, 'test/raw-oid.js'
+, 'test/raw-reference.js'
+, 'test/raw-repo.js'
+, 'test/raw-revwalk.js'
// Test examples
- 'example/convenience-repo.js',
- 'example/convenience-tree.js',
- 'example/raw-error.js',
- 'example/raw-oid.js',
- 'example/raw-repo.js',
- 'example/raw-revwalk.js'
+, 'example/convenience-repo.js'
+, 'example/convenience-tree.js'
+, 'example/raw-error.js'
+, 'example/raw-oid.js'
+, 'example/raw-repo.js'
+, 'example/raw-revwalk.js'
];
nodejshint( files, function( failures ) {
+ console.log( failures, 'failures' );
+
if( !files.length ) {
process.exit( 0 );
}
Oops, something went wrong.

0 comments on commit d246c7b

Please sign in to comment.