Skip to content

Instantly share code, notes, and snippets.

@nedSaf
Created August 11, 2014 07:32
Show Gist options
  • Save nedSaf/6d09cab7ba0f85db1594 to your computer and use it in GitHub Desktop.
Save nedSaf/6d09cab7ba0f85db1594 to your computer and use it in GitHub Desktop.
Bootstrap Glyphicons copy task for grunt build.
copy: {
dist: {
files: [{
expand: true,
dot: true,
cwd: '<%= yeoman.app %>',
src: [
// Jekyll processes and moves HTML and text files.
// Usemin moves CSS and javascript inside of Usemin blocks.
// Copy moves asset files and directories.
'images/**/*',
'fonts/**/*',
// Like Jekyll, exclude files & folders prefixed with an underscore.
'!**/_*{,/**}',
'_bower_components/**/*'
// Explicitly add any files your site needs for distribution here.
//'_bower_components/jquery/jquery.js',
//'favicon.ico',
//'apple-touch*.png'
],
dest: '<%= yeoman.dist %>'
}, {
expand: true,
cwd: '<%= yeoman.app %>/_bower_components/bootstrap-sass-offical/vendor/assets/fonts/bootstrap',
dest: '<%= yeoman.dist %>/fonts',
src: '*.*'
}]
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment