File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -17,15 +17,16 @@ module.exports = function(grunt) {
1717 files : {
1818 cat : 'jquery.powertip.js' ,
1919 min : 'jquery.powertip.min.js' ,
20- zip : 'jquery.powertip-<%= pkg.version %>.zip'
20+ zip : 'jquery.powertip-<%= pkg.version %>.zip' ,
21+ license : 'LICENSE.txt'
2122 } ,
2223 banner : [
2324 '/*!' ,
2425 ' <%= pkg.title %> v<%= pkg.version %> (<%= grunt.template.today("yyyy-mm-dd") %>)' ,
2526 ' <%= pkg.homepage %>' ,
2627 ' Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %> (<%= pkg.author.url %>).' ,
2728 ' Released under <%= pkg.license %> license.' ,
28- ' https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt ' ,
29+ ' https://raw.github.com/stevenbenner/jquery-powertip/master/<%= files.license %> ' ,
2930 '*/\n'
3031 ] . join ( '\n' ) ,
3132 clean : {
@@ -160,8 +161,8 @@ module.exports = function(grunt) {
160161 nonull : true
161162 } ,
162163 license : {
163- src : [ 'LICENSE.txt ' ] ,
164- dest : '<%= buildpath %>/LICENSE.txt ' ,
164+ src : [ '<%= files.license %> ' ] ,
165+ dest : '<%= buildpath %>/<%= files.license %> ' ,
165166 nonull : true
166167 } ,
167168 changelog : {
You can’t perform that action at this time.
0 commit comments