source:
Dev/trunk/src/client/util/buildscripts/jslib/checkBuildSize.js
Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago | |
---|---|
File size: 406 bytes |
Line | |
---|---|
1 | //assumes cwd of util/buildscripts |
2 | |
3 | //TODO: could take profile and compression option as args |
4 | |
5 | load("jslib/logger.js"); |
6 | load("jslib/fileUtil.js"); |
7 | load("jslib/buildUtil.js"); |
8 | |
9 | var result = buildUtil.makeDojoJs(buildUtil.loadDependencyList(buildUtil.evalProfile("profiles/base.profile.js")), "0.0.0"); |
10 | |
11 | var layer0 = buildUtil.optimizeJs(null, result[0].contents, null, "shrinksafe"); |
12 | print(layer0.length); |
13 |
Note: See TracBrowser
for help on using the repository browser.