Skip to content

Commit

Permalink
Clone empty blueprint on creation
Browse files Browse the repository at this point in the history
  • Loading branch information
g105b committed Nov 21, 2014
1 parent 72c25ec commit fbf3b83
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/create
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,12 @@ $definition = new InputDefinition([
try {
$input = new ArgvInput($argv, $definition);
$projectName = $input->getArgument("approot");
mkdir($projectName);
// mkdir($projectName);
exec("git clone https://github.com/BrightFlair/blueprint-empty "
. $projectName);
chdir($projectName);
exec("rm -rf .git");
exec("~/.gt/composer.phar install");
$pwd = getcwd();

// Create new project with PHP.Gt in composer.json
Expand Down

0 comments on commit fbf3b83

Please sign in to comment.