Now properly setting version in build

This commit is contained in:
Ian Gilman 2013-02-14 12:02:17 -08:00
parent d3b010d26e
commit 4e51b642ef
3 changed files with 7 additions and 7 deletions

View File

@ -34,9 +34,13 @@ module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: "<json:package.json>",
meta: {
banner: "/**\n * @version <%= pkg.name %> <%= pkg.version %>\n */"
},
concat: {
dist: {
src: sources,
src: [ "<banner>" ].concat(sources),
dest: distribution
}
},

View File

@ -1,6 +1,6 @@
{
"name": "openseadragon",
"version": "0.9.114",
"name": "OpenSeadragon",
"version": "0.9.120",
"description": "Provides a smooth, zoomable user interface for HTML/Javascript.",
"dependencies": {
"grunt": "0.3.17",

View File

@ -1,8 +1,4 @@
/*globals OpenSeadragon*/
/**
* @version OpenSeadragon @VERSION@
*
* @fileOverview
* <h2>
* <strong>