| 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 |