Skip to content

Commit

Permalink
Why so serious?
Browse files Browse the repository at this point in the history
  • Loading branch information
jtsternberg committed Jun 18, 2014
1 parent 48eeb02 commit 8b16fed
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
16 changes: 13 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,15 @@ module.exports = function(grunt) {
predef :['document','window','jQuery','cmb_l10','wp','tinyMCEPreInit','tinyMCE','console']
}
},
asciify: {
banner: {
text : 'CMB!',
options : {
font : 'isometric2',
log : true
}
}
},
uglify: {
all: {
files: {
Expand All @@ -92,14 +101,13 @@ module.exports = function(grunt) {
}
},
watch: {

sass: {
files: ['**/*.scss'],
tasks: ['sass', 'cssmin']
},
scripts: {
files: ['js/cmb.js'],
tasks: ['jshint', 'uglify'],
tasks: ['js'],
options: {
debounceDelay: 500
}
Expand All @@ -116,8 +124,10 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-cssmin');
grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-contrib-sass');
grunt.loadNpmTasks('grunt-asciify');
// grunt.loadNpmTasks('grunt-contrib-concat');

grunt.registerTask('default', ['jshint', 'sass', 'cssmin', 'uglify', 'phpunit']);
grunt.registerTask('default', ['asciify', 'jshint', 'sass', 'cssmin', 'uglify', 'phpunit']);
grunt.registerTask('js', ['asciify', 'jshint', 'uglify']);
grunt.registerTask('tests', ['jshint', 'phpunit']);
};
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-cssmin": "~0.9.0",
"grunt-contrib-watch": "~0.6.1",
"grunt-contrib-sass": "~0.7.3"
"grunt-contrib-sass": "~0.7.3",
"grunt-asciify": "~0.2.2"
}
}

0 comments on commit 8b16fed

Please sign in to comment.