Skip to content
Common Grunt tasks for OpenLayers development, website building, etc.
JavaScript
Latest commit 052f29e Jul 23, 2013 @tschaub tschaub 0.2.0
Failed to load latest commit information.
tasks Default for cwd Jul 23, 2013
.gitignore Setup Jul 22, 2013
.jshintrc Lint self Jul 22, 2013
gruntfile.js Register later Jul 22, 2013
package.json 0.2.0 Jul 23, 2013
readme.md Release task Jul 22, 2013

readme.md

Grunt Tasks for OpenLayers

This package contains common Grunt tasks for OpenLayers development, website building, etc. Tasks that are specific to just OpenLayers development can remain in the code respository. Tasks that are specific to just OpenLayers website building can remain in the website repository. Tasks that are used in more than one place should go here.

Development

This package is published as a package in the npm repository and is added as a development dependency of other projects. To facilitate local development (instead of making a change to a common task and having to publish it before testing its use with another local project), use npm link.

Where practical, tasks should have tests. Run the linter and any tests before pushing changes:

npm test

Publishing

After committing changes to your task, update the published package with the release task:

grunt release:minor

This will bump the version number in package.json, add the changes, commit, create a tag, push, and publish the package to the npm registry. You can also run grunt release:patch or grunt release:major.

Something went wrong with that request. Please try again.