Permalink
Browse files

Added grunt script and fixed lint errors

  • Loading branch information...
jamesallardice committed Jan 31, 2013
1 parent 5a8ca51 commit 33bcda813de39f997e461691f2fcae2fc1b57bfc
Showing with 23 additions and 1 deletion.
  1. +22 −0 grunt.js
  2. +1 −1 lib/cli.js
View
@@ -0,0 +1,22 @@
+module.exports = function (grunt) {
+
+ "use strict";
+
+ grunt.initConfig({
+ lint: {
+ all: [
+ "grunt.js",
+ "lib/**/*.js"
+ ]
+ },
+ jshint: {
+ options: {
+ node: true,
+ es5: true
+ }
+ }
+ });
+
+ grunt.registerTask("default", "lint");
+
+};
View
@@ -21,7 +21,7 @@ module.exports = function () {
// END REMOVE
if (!program.key || !program.private || !program.consumer || !program.secret) {
- program.help();
+ program.help();
}
require("./app")({

0 comments on commit 33bcda8

Please sign in to comment.