Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed yuidoc.json version writing

  • Loading branch information...
commit 823990fd27481f48bf441433fa710578726d320d 1 parent bfd8f89
Dav Glass davglass authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 scripts/versions.js
7 scripts/versions.js
View
@@ -4,19 +4,14 @@ var path = require('path'),
fs = require('fs'),
package = require(path.join(__dirname, '../', 'package.json')),
version = package.version,
- api = path.join(__dirname, '../', 'conf', 'yuidoc.json'),
doc = path.join(__dirname, '../', 'conf', 'docs', 'project.json');
console.log('[version]', version);
-console.log('[api]', api);
console.log('[doc]', doc);
-var apiJSON = require(api),
- docJSON = require(doc);
+var docJSON = require(doc);
-apiJSON.version = version;
docJSON.version = version;
-fs.writeFileSync(api, JSON.stringify(apiJSON, null, 2));
fs.writeFileSync(doc, JSON.stringify(docJSON, null, 2));
console.log('[done]');
Please sign in to comment.
Something went wrong with that request. Please try again.