Add Project object in runtime

This commit is contained in:
Nick O'Leary
2017-10-16 23:23:50 +01:00
parent 19c84eb694
commit 4569cb432d
9 changed files with 457 additions and 354 deletions

View File

@@ -208,6 +208,9 @@ module.exports = {
return runCommand(gitCommand,args,cwd);
},
clone: function(repo, cwd) {
if (repo.url) {
repo = repo.url;
}
var args = ["clone",repo,"."];
return runCommand(gitCommand,args,cwd);
},