Skip to content

Commit 90e4ca5

Browse files
author
Per Liedman
committed
Better banners
1 parent 6a3509d commit 90e4ca5

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

Gruntfile.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,20 @@ module.exports = function(grunt) {
99
browserifyOptions: {
1010
transform: 'browserify-shim',
1111
standalone: 'L.Routing'
12+
},
13+
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
14+
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
15+
' * Copyright (c) 2013-2016 Per Liedman\n' +
16+
' * Distributed under the <%= pkg.license %> license */\n\n'
1217
}
13-
}
1418
}
1519
},
1620
uglify: {
1721
options: {
18-
banner: '/*! <%= pkg.name %> - v<%= pkg.version %> - ' +
19-
'<%= grunt.template.today("yyyy-mm-dd") %> */\n\n'
22+
banner: '/* <%= pkg.name %> - v<%= pkg.version %> - ' +
23+
'<%= grunt.template.today("yyyy-mm-dd") %>\n' +
24+
' * Copyright (c) 2013-2016 Per Liedman\n' +
25+
' * Distributed under the <%= pkg.license %> license */\n\n'
2026
},
2127
build: {
2228
src: 'dist/leaflet-routing-machine.js',

0 commit comments

Comments
 (0)