clue/bitbake-react
Composer 安装命令:
composer require clue/bitbake-react
包简介
Programmatically control your bitbake build shell
README 文档
README
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
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-01-13