Add a reference to the license to the build
This commit is contained in:
1 parent
3e38b1d88a
commit
a5dd13c5f1
1 file changed
+2
@@ -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';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user