You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cacert-testmgr/external/ZendFramework-1.9.5/externals/dojo/util/buildscripts/changeVersion.js

13 lines
393 B
JavaScript

//Changes the Dojo version in a file. Used during the release process.
var version = new String(arguments[0]);
var fileName = new String(arguments[1]);
load("jslib/logger.js");
load("jslib/fileUtil.js");
load("jslib/buildUtil.js");
var fileContents = fileUtil.readFile(fileName);
fileContents = buildUtil.changeVersion(version, fileContents);
fileUtil.saveUtf8File(fileName, fileContents);