|
@ -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); |
|
|