mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-21 20:56:09 +03:00
Now properly setting version in build
This commit is contained in:
parent
d3b010d26e
commit
4e51b642ef
6
grunt.js
6
grunt.js
@ -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
|
||||
}
|
||||
},
|
||||
|
@ -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",
|
||||
|
@ -1,8 +1,4 @@
|
||||
/*globals OpenSeadragon*/
|
||||
|
||||
/**
|
||||
* @version OpenSeadragon @VERSION@
|
||||
*
|
||||
* @fileOverview
|
||||
* <h2>
|
||||
* <strong>
|
||||
|
Loading…
Reference in New Issue
Block a user