Grunt tasks for bulk conversion of media files, using Artycles
Install grunt-artycles next to your project's gruntfile with:
npm install grunt-artycles
This plugin requires Grunt >0.4.0
Simply add this line to your project's Gruntfile.js gruntfile:
grunt.loadNpmTasks('grunt-artycles');
Then specify your config:
grunt.initConfig({
artycles: {
options: {
/** @optional - use to override default Artycles options */
},
dist: {
/** @required - string (or array of) including grunt glob variables */
src: ['./static/*/*.jpg', './media/*/*.mp4', './raw/*/*.png'],
/** @optional - if provided the converted files will be saved in this folder instead */
dest: './assets/'
}
}
});
Initiated by Makis Tracend ( @tracend )
Distributed through Makesites.org
Released under the MIT license