UNPKG

susi-forge

Version:
33 lines (29 loc) 759 B
'use strict'; module.exports = function(grunt) { grunt.config.merge({ licensr: { client: { options: { license: 'LICENSE' }, files: [ {src: ['<%= pkg.project.directories.src %>client/**/*.js']}, {src: ['<%= pkg.project.directories.src %>client/**/*.less']} ] }, client_topdoc: { options: { license: 'LICENSE', topdoc: true }, files: [ {src: ['<%= pkg.project.directories.src %>client/**/*.jade']}, ] } } }); grunt.registerTask('license', 'replaces and inserts copyright headers in source files with contents from License-file. ', [ 'licensr:client', 'licensr:client_topdoc' ]); };