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