【文件属性】:
文件名称:bazel-blog-post:Bazel Blog帖子的配套回购
文件大小:87KB
文件格式:ZIP
更新时间:2021-04-30 19:46:48
Python
示例项目显示了如何使用Bazel使用monorepo构建iOS和Android应用。
随播网志文章: :
用法
安卓
生成应用程序:
$ bazel build //App-A-Android:AppA-Android
在连接的设备上安装该应用程序:
$ bazel mobile-install //App-A-Android:AppA-Android
在连接的设备/仿真器上安装并启动该应用程序:
$ bazel mobile-install --start_app //App-A-Android:AppA-Android
增量构建和运行:
$ bazel mobile-install --incremental //App-A-Android:AppA-Android
构建Lib-Android:
$ bazel build //Lib-Android
的iOS
$ b
【文件预览】:
bazel-blog-post-master
----AppA-iOS()
--------Info.plist(1KB)
--------Resources()
--------src()
--------BUILD(553B)
----Lib-Swift()
--------src()
--------BUILD(207B)
----Pods()
--------RxSwift()
----WORKSPACE(1KB)
----README.md(833B)
----BazelApps.tulsiproj()
--------project.tulsiconf(164B)
--------fstephany.tulsiconf-user(178B)
--------Configs()
----Lib-Android()
--------src()
--------BUILD(115B)
----App-A-Android()
--------src()
--------BUILD(461B)
----.gitignore(496B)