Builder/Provider/TestEnviroment/Setup.js
authorAlan Knowles <alan@akbkhome.com>
Mon, 5 Jul 2010 09:57:23 +0000 (17:57 +0800)
committerAlan Knowles <alan@akbkhome.com>
Mon, 5 Jul 2010 09:57:23 +0000 (17:57 +0800)
Builder/Provider/TestEnviroment/Setup.js

index 23fa5a7..28b6bf0 100644 (file)
 
 Setup = {
     
+    dir:  '', // home appbulider...
+    
     cloneModules : function()
     {
-        
+        if (File.isDirectory(this.dir + '/Pman.Base')) {
+            Spawn.run(this.dir + '/Pman.Base', 'git pull');
+        }
+        Spawn.run(this.dir, 'git clone http://git.akbkhome.com/Pman.Base');
     }