-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Finalize the merge of mockingbird into the library.
- Loading branch information
Showing
7 changed files
with
277 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
module.exports = function(grunt) { | ||
|
||
// Project configuration. | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON('package.json'), | ||
|
||
jshint: { | ||
// define the files to lint | ||
files: ['./lib/**/*.js'], | ||
// configure JSHint (documented at http://www.jshint.com/docs/) | ||
options: { | ||
// more options here if you want to override JSHint defaults | ||
globals: { | ||
console: true, | ||
module: true | ||
} | ||
} | ||
}, | ||
|
||
nodeunit: { | ||
all: ['test/*.js'] | ||
} | ||
}); | ||
|
||
// load our plugins | ||
grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
grunt.loadNpmTasks("grunt-contrib-nodeunit"); | ||
|
||
// and define our tasks | ||
// this would be run by typing "grunt test" on the command line | ||
grunt.registerTask('test', ['nodeunit']); | ||
|
||
// the default task can be run just by typing "grunt" on the command line | ||
grunt.registerTask('default', ['jshint', 'nodeunit']); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.