Skip to content

Commit

Permalink
Merge pull request openlayers#2151 from bartvde/license
Browse files Browse the repository at this point in the history
Builds should include license
  • Loading branch information
bartvde committed Aug 25, 2014
2 parents 38b58e9 + a5dd13c commit ddb4d9a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ function build(config, paths, callback) {
function addHeader(compiledSource, callback) {
exec('git describe --tags', function(error, stdout, stderr) {
var header = '// OpenLayers 3. See http://ol3.js.org/\n';
header += '// License: https://raw.githubusercontent.com/openlayers/' +
'ol3/master/LICENSE.md\n';
if (stdout !== '') {
header += '// Version: ' + stdout + '\n';
}
Expand Down

0 comments on commit ddb4d9a

Please sign in to comment.