Skip to content

Commit c99f203

Browse files
committed
Merge pull request #160 from gberaudo/add_header_to_ol3cesiumX.js
Add header to ol3cesium.js and ol3cesium-debug.js
2 parents 0817fa5 + ed83bac commit c99f203

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

build/build.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,8 @@ function build(config, paths, callback) {
184184
*/
185185
function addHeader(compiledSource, callback) {
186186
exec('git describe --tags', function(error, stdout, stderr) {
187-
var header = '// OpenLayers 3. See http://ol3.js.org/\n';
187+
var header = '// Ol3-Cesium. See https://github.com/openlayers/ol3-cesium/\n';
188+
header += '// License: https://github.com/openlayers/ol3-cesium/blob/master/LICENSE\n';
188189
if (stdout !== '') {
189190
header += '// Version: ' + stdout + '\n';
190191
}
@@ -205,8 +206,8 @@ function main(config, callback) {
205206
assertValidConfig.bind(null, config),
206207
generateExports.bind(null, config),
207208
getDependencies.bind(null, config),
208-
build.bind(null, config)
209-
//addHeader
209+
build.bind(null, config),
210+
addHeader
210211
], callback);
211212
}
212213

0 commit comments

Comments
 (0)