Home

Awesome

clue/bitbake-react Build Status

Programmatically control your bitbake build shell, built on top of React PHP.

Note: This project is in early alpha stage! Feel free to report any issues you encounter.

Quickstart example

Once installed, you can use the following code to tell bitbake to build the linux kernel:

$loop = React\EventLoop\Factory::create();
$launcher = new Launcher($loop);
$launcher->setBinSsh('my-build-hostname.local', '~/path/to/bitbake');
$shell = $launcher->launchInteractiveShell();

$shell->build('linux')->then(function ($output) {
     echo 'Successfully compiled: ' . $output . PHP_EOL;
});

$shell->end();
$loop->run();

See also the examples.

Install

The recommended way to install this library is through composer. New to composer?

{
    "require": {
        "clue/bitbake-react": "dev-master"
    }
}

License

MIT