Skip to content

Instantly share code, notes, and snippets.

@simshanith
Last active December 31, 2015 21:08
Show Gist options
  • Save simshanith/8044496 to your computer and use it in GitHub Desktop.
Save simshanith/8044496 to your computer and use it in GitHub Desktop.
Grunt templates to the rescue!
module.exports = function(grunt) {
grunt.initConfig({
concat : {
options: {
paths: {
src: 'assets/css',
dest: 'temp'
}
},
vendorCSS : {
options: {
paths: {
src: '<%= concat.options.paths.src %>/vendor'
}
},
src : [
'<%= concat.vendorCSS.options.paths.src %>/reset.css',
'<%= concat.vendorCSS.options.paths.src %>/bootstrap.css',
'<%= concat.vendorCSS.options.paths.src %>/bootstrap-responsive.css',
'<%= concat.vendorCSS.options.paths.src %>/highlight-js.css'
],
dest : '<%= concat.options.paths.dest %>/vendor.css'
}
}
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment