mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-22 05:06: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.
|
// 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
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -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",
|
||||||
|
@ -1,8 +1,4 @@
|
|||||||
/*globals OpenSeadragon*/
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @version OpenSeadragon @VERSION@
|
|
||||||
*
|
|
||||||
* @fileOverview
|
* @fileOverview
|
||||||
* <h2>
|
* <h2>
|
||||||
* <strong>
|
* <strong>
|
||||||
|
Loading…
Reference in New Issue
Block a user