PHP code example of nowise / uup-build-system

1. Go to this page and download the library: Download nowise/uup-build-system 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/ */

    

nowise / uup-build-system example snippets


$reader = new MakeFileReader();

$reader->addDependencies("makefile1.txt");
$reader->addDependencies("makefile2.txt");

$reader->getDependencyTree()
       ->getEvaluator()
       ->rebuild();

Array
(
    [PBS_MAKE_VERBOSE] => 1
    [PBS_MAKE_DEBUG] => 1
)
 
$tree->getEvaluator()->rebuild();

$tree->getRegistry()->getNode("T5")
    ->getEvaluator()
    ->rebuild();

$tree->getEvaluator()
    ->setRebuildChildren(false)
    ->rebuild();
shell
php example/definition-tree.php