Changeset 54
- Timestamp:
- 03/22/06 11:06:29 (3 years ago)
- Files:
-
- trunk/tools/build.js (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/tools/build.js
r53 r54 122 122 }; 123 123 124 var createFolders=function(path){ 125 var pf = fs.GetParentFolderName(path); 126 if(! fs.FolderExists(pf)){ 127 createFolders(pf); 128 } 129 fs.CreateFolder(path); 130 }; 124 131 125 132 mod.__main__=function(){ 126 133 127 134 this.gn = new lang.GlobalNode(); 128 try{129 fs.createFolder(mod.buildPath);130 }catch(e){131 135 132 } 133 136 createFolders(mod.buildPath); 134 137 135 138 mod.buildDir(fs.getFolder(mod.sourcePath), fs.getFolder(mod.buildPath));
