Permalink
Browse files

Removed the need to copy the main js file into the bin folder.

  • Loading branch information...
1 parent f0c996d commit 0c7609b228e9df6edae8cb413baa27932a9472c3 @travist committed Sep 4, 2013
Showing with 9 additions and 458 deletions.
  1. +5 −20 Gruntfile.js
  2. +1 −434 bin/makemeasandwich
  3. +1 −1 lib/makemeasandwich.js
  4. +2 −3 package.json
View
@@ -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

Please sign in to comment.