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. // Project configuration.
grunt.initConfig({ grunt.initConfig({
pkg: "<json:package.json>",
meta: {
banner: "/**\n * @version <%= pkg.name %> <%= pkg.version %>\n */"
},
concat: { concat: {
dist: { dist: {
src: sources, src: [ "<banner>" ].concat(sources),
dest: distribution dest: distribution
} }
}, },

View File

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

View File

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