PHP code example of imoisey / makebuilder

1. Go to this page and download the library: Download imoisey/makebuilder library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

imoisey / makebuilder example snippets


use Imoisey\Makebuilder\MakeBuilder;

$makeBuilder = new MakeBuilder();
$makeBuilder->createTarget('install', function ($target) {
   $target->addCommand('@echo --- Install ---');
});

$makeBuilder->build('Makefile');
text
install:
    @echo --- Install ---