Pipe\Bob\PipeTaskLibrary::boot PHP Method

boot() public method

public boot ( Application $app )
$app Bob\Application
    function boot(Application $app)
    {
        $app->task('pipe:precompile', function () use($app) {
            $targetDirectory = $app['pipe.precompile_directory'];
            $assets = (array) $app['pipe.precompile'];
            $manifest = new Manifest($app['pipe.environment'], "{$targetDirectory}/manifest.json", $targetDirectory);
            $manifest->setLogger($app['log']);
            $manifest->compile($assets);
        })->description = "Precompile assets";
    }
PipeTaskLibrary