Permalink
Please sign in to comment.
Browse files
Removed the need to copy the main js file into the bin folder.
- Loading branch information...
Showing
with
9 additions
and 458 deletions.
- +5 −20 Gruntfile.js
- +1 −434 bin/makemeasandwich
- +1 −1 lib/makemeasandwich.js
- +2 −3 package.json
25
Gruntfile.js
| @@ -1,28 +1,13 @@ | ||
| module.exports = function(grunt) { | ||
| - | ||
| - // Project configuration. | ||
| grunt.initConfig({ | ||
| - concat: { | ||
| - options: { | ||
| - banner: '#!/usr/bin/env node\n' | ||
| - }, | ||
| - dist: { | ||
| - src: ['lib/makemeasandwich.js'], | ||
| - dest: 'bin/makemeasandwich', | ||
| - }, | ||
| - }, | ||
| - chmod: { | ||
| + jshint: { | ||
| + all: ['Gruntfile.js', 'lib/*.js'], | ||
| options: { | ||
| - mode: '755' | ||
| - }, | ||
| - yourTarget1: { | ||
| - src: ['bin/makemeasandwich'] | ||
| + multistr: true | ||
| } | ||
| } | ||
| }); | ||
| - | ||
| - grunt.loadNpmTasks('grunt-contrib-concat'); | ||
| - grunt.loadNpmTasks('grunt-chmod'); | ||
| - grunt.registerTask('default', ['concat','chmod']); | ||
| + grunt.loadNpmTasks('grunt-contrib-jshint'); | ||
| + grunt.registerTask('default', ['jshint']); | ||
| }; |
Oops, something went wrong.
0 comments on commit
0c7609b