clue / bitbake-react

以编程方式控制您的bitbake构建shell

dev-master 2015-03-09 09:45 UTC

This package is auto-updated.

Last update: 2024-09-06 07:58:24 UTC


README

以编程方式控制您的bitbake构建shell,基于React PHP构建。

注意:此项目处于早期alpha阶段!欢迎报告您遇到的任何问题。

快速入门示例

安装完成后,您可以使用以下代码告诉bitbake构建linux内核

$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();

也请参阅示例

安装

安装此库的推荐方法是通过composer。您是composer的新手吗?了解更多

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

许可证

MIT