Skip to content

solarpatrol/cesium-bower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cesium

This is a Bower package for amazing Cesium JavaScript library for creating 3D globes and 2D maps in a web browser without a plugin.

The package contains source files from original Source directory under src directory and built minified files from Build/Cesium directory under dist directory.

Installation

In order to install Cesium with Bower run:

bower install cesium.js

How to prepare new Cesium release

  1. Install recent Node.js and Node Package Manager. Using NVM installation script is a preferable way to do this. Git is also required to clone repositories.

  2. Clone this repository:

     git clone [email protected]:solarpatrol/cesium-bower /path/to/cesium-bower
    
  3. Switch to dev branch:

     git checkout dev
    
  4. Install development dependencies:

     cd /path/to/cesium-bower
     npm install
    
  5. Run update script passing Cesium version to update to (say, to 1.27):

     npm run update 1.27.0
    

    This one will do the following steps:

    • update version fields in package.json file of this repository;
    • install corresponding version of official Cesium package in node_modules;
    • copy source and build files from Cesium package to src and dist directories;
    • commit all changes to current (dev) branch.

    If you get a message like

    Bower package is already @1.27.0

    but want to continue update anyway then run:

     npm run update 1.27.0 -- --force
    
  6. If you are a maintainer of this repository then merge all changes to master branch:

     git checkout master
     git merge --no-ff dev -m "Version 1.27.0."
     git tag -a 1.27.0 -m "Version 1.27.0."
    

    If you are a contributor then create a pull request to dev branch.

Contribution

Before making a pull request, please, be sure that your changes are rebased to dev branch.

About

Bower package of Cesium JavaScript library

Resources

Stars

Watchers

Forks

Packages

No packages published