Browse Source

added a concatenate uncompressed css file to build - semantic.css

Former-commit-id: e6462d2c33
Former-commit-id: 710e9000b4
pull/258/head
Emad Ibrahim 11 years ago
parent
commit
096edff787
4 changed files with 18 additions and 2 deletions
  1. 1
      build/packaged/css/semantic.css.REMOVED.git-id
  2. 15
      node/Gruntfile.js
  3. 3
      node/package.json
  4. 1
      node/src/files/build/packaged/css/semantic.css.REMOVED.git-id

1
build/packaged/css/semantic.css.REMOVED.git-id

@ -0,0 +1 @@
42601c5eac116dc2163afa373661232e4ab92a77

15
node/Gruntfile.js

@ -39,6 +39,8 @@ module.exports = function(grunt) {
// creates custom license in header // creates custom license in header
'cssmin:addBanner', 'cssmin:addBanner',
'concat_css',
// creates minified js of each file // creates minified js of each file
'uglify:minifyJS', 'uglify:minifyJS',
@ -252,7 +254,17 @@ module.exports = function(grunt) {
] ]
} }
}, },
concat_css: {
options: {
// Task-specific options go here.
},
all: {
src: ["../build/uncompressed/**/*.css"],
dest: "../build/packaged/css/semantic.css"
},
},
cssmin: { cssmin: {
// copy minified css to minified release // copy minified css to minified release
@ -353,6 +365,7 @@ 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-concat-css');
grunt.initConfig(config); grunt.initConfig(config);

3
node/package.json

@ -20,6 +20,7 @@
"grunt-docco": "~0.2.0", "grunt-docco": "~0.2.0",
"grunt-bower-task": "~0.3.1", "grunt-bower-task": "~0.3.1",
"grunt-css": "~0.5.4", "grunt-css": "~0.5.4",
"grunt-contrib-compress": "~0.5.2"
"grunt-contrib-compress": "~0.5.2",
"grunt-concat-css": "~0.1.0"
} }
} }

1
node/src/files/build/packaged/css/semantic.css.REMOVED.git-id

@ -0,0 +1 @@
42601c5eac116dc2163afa373661232e4ab92a77
Loading…
Cancel
Save