Closed Vincz closed 10 years ago
use the file option
assets: {
files: {
groups: {
'bootstrap/fonts': {src: 'bootstrap/fonts/*', dest: 'fonts'},
'font-awesome': {src: 'font-awesome/fonts/*', dest: 'fonts'},
'ionicons': {src: 'ionicons/fonts/*', dest: 'fonts'},
}
}
}
copy file from src to dest
I've just add some other assets handlers for fonts, swf, and css in 0.1.13 You can still use "files", but you might want to switch to something like :
assets: {
fonts: {
groups: {
'bootstrap': {src: 'bootstrap/fonts/*'},
'font-awesome': {src: 'font-awesome/fonts/*'}
}
},
css: {
groups: {
'foo': {src: 'foo/css/*'}
}
}
}
There is many cases where we need to expose plain css files. Need a task for that.