Skip to content

Commit

Permalink
The blueprint stuff is not quite ready
Browse files Browse the repository at this point in the history
  • Loading branch information
topdown committed Dec 1, 2016
1 parent b5c8e68 commit 680f67c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
7 changes: 7 additions & 0 deletions views/forms/create_plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
<input id="skip_tests" type="checkbox" name="skip_tests" />
</p>
</div>

<?php /* Not ready yet
<div class="form-group">
<h4>Add / Use Blueprint</h4>
<label for="blueprint">Blueprints</label> <select name="blueprint" id="blueprint">
Expand All @@ -56,6 +60,9 @@
} ?>
</select>
</div>
*/ ?>

<div class="form-group">
<p>
<button type="submit" class="btn btn-success btn-xs" name="create_plugin" value="Create Plugin">
Expand Down
8 changes: 4 additions & 4 deletions vvv_dash/commands/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,10 +149,10 @@ private function _create( $post ) {
$status = shell_exec( 'wp scaffold plugin ' . $post['plugin_slug'] . ' --activate ' . $author . ' ' . $author_uri . ' ' . $skip_tests . ' --path=' . $this->host_info['wp_path'] . ' --debug' );
$install[] = str_replace( "\n", '<br />', $status );

// if ( $blueprint ) {
// $status = new vvv_dash\blueprints\plugin( $blueprint, $post['host'] );
// $install[] = str_replace( "\n", '<br />', $status );
// }
// if ( $blueprint ) {
// $status = new vvv_dash\blueprints\plugin( $blueprint, $post['host'] );
// $install[] = str_replace( "\n", '<br />', $status );
// }
} else {
// We can do anything with this without plugin info
return false;
Expand Down

0 comments on commit 680f67c

Please sign in to comment.