File tree Expand file tree Collapse file tree 5 files changed +8
-11
lines changed
Expand file tree Collapse file tree 5 files changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ script:
1515 - git submodule init
1616 - git submodule update
1717 - npm install
18- - grunt docs
18+ - grunt default docs
1919 - mkdir _build
2020 - cd _build
2121 - cmake ..
Original file line number Diff line number Diff line change @@ -415,6 +415,8 @@ module.exports = function (grunt) {
415415
416416 grunt . registerTask ( 'library' , [
417417 'template' ,
418+ 'copy:geo' ,
419+ 'copy:vgl' ,
418420 'concat:geojs' ,
419421 'uglify:geojs'
420422 ] ) ;
@@ -423,14 +425,8 @@ module.exports = function (grunt) {
423425 'uglify:ext'
424426 ] ) ;
425427
426- grunt . registerTask ( 'dev' , [
427- 'copy:geo' ,
428- 'copy:vgl'
429- ] ) ;
430-
431428 grunt . registerTask ( 'default' , [
432429 'init' ,
433- 'dev' ,
434430 'library' ,
435431 'examples'
436432 ] ) ;
Original file line number Diff line number Diff line change 11{
22 "name" : " geojs" ,
3- "version" : " 0.2.1 " ,
3+ "version" : " 0.4.0 " ,
44 "description" : " JavaScript Geo visualization and Analysis Library" ,
55 "homepage" : " https://github.com/OpenGeoscience/geojs" ,
66 "main" : " geo.js" ,
Original file line number Diff line number Diff line change @@ -43,11 +43,12 @@ vgl submodule. ::
4343Building the source
4444-------------------
4545
46- Inside the new ``geojs `` directory, you can simply run the following command to
46+ Inside the new ``geojs `` directory, you can simply run the following commands to
4747install all dependent javascript libraries and bundle together everything that
4848is needed. ::
4949
5050 npm install
51+ grunt
5152
5253Compiled javascript libraries will be named ``geo.min.js `` and ``geo.ext.min.js `` in ``dist/built ``.
5354The first file contains geojs and vgl bundled together. The second file contains all
Original file line number Diff line number Diff line change 11{
22 "name" : " geojs" ,
3- "version" : " 0.2.1 " ,
3+ "version" : " 0.4.0 " ,
44 "description" : " JavaScript Geo visualization and Analysis Library" ,
55 "homepage" : " https://github.com/OpenGeoscience/geojs" ,
66 "license" : " BSD-3-Clause" ,
3434 "phantomjs" : " ~1.9"
3535 },
3636 "scripts" : {
37- "postinstall" : " ./node_modules/.bin/bower install && ./node_modules/.bin/grunt library "
37+ "postinstall" : " ./node_modules/.bin/bower install"
3838 },
3939 "keywords" : [
4040 " map" ,
You can’t perform that action at this time.
0 commit comments