Browse Source

Updates commenting in gruntfile for new pull request concat task

pull/96/merge
jlukic 11 years ago
parent
commit
9c908d7f7c
1 changed files with 10 additions and 7 deletions
  1. 17
      node/Gruntfile.js

17
node/Gruntfile.js

@ -39,7 +39,11 @@ module.exports = function(grunt) {
// creates custom license in header // creates custom license in header
'cssmin:addBanner', 'cssmin:addBanner',
'concat',
// create concatenated css release
'concat:concatenateCSS',
// create concatenated js release
'concat:concatenateJS',
// creates minified js of each file // creates minified js of each file
'uglify:minifyJS', 'uglify:minifyJS',
@ -254,20 +258,20 @@ module.exports = function(grunt) {
] ]
} }
}, },
concat: { concat: {
options: { options: {
}, },
css_uncompressed: {
concatenateCSS: {
src: ["../build/uncompressed/**/*.css"], src: ["../build/uncompressed/**/*.css"],
dest: "../build/packaged/css/semantic.css" dest: "../build/packaged/css/semantic.css"
}, },
js_uncompressed: {
concatenateJS: {
src: ["../build/uncompressed/**/*.js"], src: ["../build/uncompressed/**/*.js"],
dest: "../build/packaged/javascript/semantic.js" dest: "../build/packaged/javascript/semantic.js"
},
},
}, },
cssmin: { cssmin: {
// copy minified css to minified release // copy minified css to minified release
@ -368,7 +372,6 @@ module.exports = function(grunt) {
grunt.loadNpmTasks('grunt-contrib-uglify'); grunt.loadNpmTasks('grunt-contrib-uglify');
grunt.loadNpmTasks('grunt-contrib-watch'); grunt.loadNpmTasks('grunt-contrib-watch');
grunt.loadNpmTasks('grunt-docco'); grunt.loadNpmTasks('grunt-docco');
grunt.loadNpmTasks('grunt-contrib-concat'); grunt.loadNpmTasks('grunt-contrib-concat');
grunt.initConfig(config); grunt.initConfig(config);

Loading…
Cancel
Save