Permalink
Browse files

Adds notify

  • Loading branch information...
1 parent 9abb434 commit 0d2dce2938f64e9c7fde085a25a168b928973254 @craveytrain committed Oct 13, 2013
Showing with 8 additions and 7 deletions.
  1. +5 −3 Gruntfile.js
  2. +2 −1 package.json
  3. +1 −1 source/js/main.js
  4. +0 −2 tasks/render.js
View
@@ -82,7 +82,7 @@ grunt.initConfig({
js: {
files: 'source/js/**/*.js',
- tasks: ['uglify'],
+ tasks: ['jshint:client', 'copy', 'uglify'],
options: {
interrupt: true
}
@@ -97,7 +97,7 @@ grunt.initConfig({
},
staticFiles: {
- files: ['source/**', '!source/stylesheets/**'],
+ files: ['source/**', '!source/stylesheets/**', '!source/js/**/*.js'],
tasks: ['copy'],
options: {
interrupt: true
@@ -110,7 +110,8 @@ grunt.initConfig({
jshintrc: '.jshintrc'
},
grunt: ['Gruntfile.js', 'lib/**/*.js', 'tasks/**/*.js'],
- site: ['source/**/*.js', 'model/**/*.js']
+ site: ['model/**/*.js'],
+ client: ['source/**/*.js']
},
@@ -154,6 +155,7 @@ grunt.loadNpmTasks('grunt-contrib-jshint');
grunt.loadNpmTasks('grunt-contrib-htmlmin');
grunt.loadNpmTasks('grunt-contrib-stylus');
grunt.loadNpmTasks('grunt-autoprefixer');
+grunt.loadNpmTasks('grunt-notify');
grunt.loadTasks('tasks');
grunt.registerTask('build', ['clean', 'jshint', 'copy', 'render', 'stylus', 'autoprefixer', 'uglify']);
View
@@ -34,7 +34,8 @@
"grunt-contrib-stylus": "~0.8.0",
"yaml-front-matter": "~2.1.0",
"supermarked": "~1.1.0",
- "grunt-autoprefixer": "~0.3.0"
+ "grunt-autoprefixer": "~0.3.0",
+ "grunt-notify": "~0.2.13"
},
"devDependencies": {
"highlight": "~0.2.3"
View
@@ -16,4 +16,4 @@
window.addEventListener('scroll', onScroll);
}
-}());
+}());
View
@@ -90,8 +90,6 @@ var buildJadeData = function() {
grunt.config('jade', jadeData);
};
-
-
grunt.registerTask('buildJadeData', 'Parse the markdown and render the markup from the template', buildJadeData);
grunt.registerTask('render', ['buildJadeData', 'jade']);

0 comments on commit 0d2dce2

Please sign in to comment.