source: Dev/trunk/src/client/util/buildscripts/listProfileDeps.js

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 622 bytes
Line 
1//START of the "main" part of the script.
2//This is the entry point for this script file.
3load("jslib/logger.js");
4load("jslib/fileUtil.js");
5load("jslib/buildUtil.js");
6
7var profileFile = arguments[0];
8var lineSeparator = java.lang.System.getProperty("line.separator");
9
10var result = buildUtil.loadDependencyList(buildUtil.evalProfile(profileFile));
11
12var buildText = "Files included in this profile:" + lineSeparator;
13for(var i = 0; i < result.length; i++){
14        buildText += lineSeparator + result[i].layerName + ":" + lineSeparator;
15        buildText += result[i].depList.join(lineSeparator) + lineSeparator;
16}
17
18print(buildText);
Note: See TracBrowser for help on using the repository browser.