src/Build/Builder.php
public function build($sourceDir, $outputDir)
    {
        $sourceList = $this->findSources($sourceDir, $outputDir);

        return array_walk($sourceList, [$this, 'publish']);
    }
public function build($sourceDir, $outputDir)
    {
        $sourceList = $this->findSources($sourceDir, $outputDir);

        return array_walk($sourceList, [$this, 'publish']);
    }
public function build ( $ sourceDir , $ outputDir ) { $ sourceList = $ this -> findSources ( $ sourceDir , $ outputDir ) ; return array_walk ( $ sourceList , [ $ this , 'publish' ] ) ; }
Build the site.

@param string $sourceDir
@param string $outputDir
@return bool
Build the site .