Build commands are core CLI features, they take care of building the final artifact. The command should be invokable as follows:
yarn react-native-brownfield build-android
The command should utilize underlying Android project, please check out the diagram:
The command should:
bundle JS
build fat aar
The produced output should be a working .aar file.
Additional command options:
--dev -D flag should build an artifact with no bundle or assets and fetch it from the remote
--config <path/to/config> path to config file
Acceptance criteria
Functional:
build-android command works on example app (produces working artifact on root level)
build-android command works on the newly created react-native init application (produces working artifact on root level)
native modules are linked and embedded into artifact
assets & resources are linked and embedded into artifact
Description
Build commands are core CLI features, they take care of building the final artifact. The command should be invokable as follows:
yarn react-native-brownfield build-android
The command should utilize underlying Android project, please check out the diagram:![RNB diagram](https://user-images.githubusercontent.com/7837457/128083352-f5682616-eb8d-4a15-b0f0-c19a1a936b66.png)
The command should:
The produced output should be a working
.aar
file.Additional command options:
--dev -D
flag should build an artifact with no bundle or assets and fetch it from the remote--config <path/to/config>
path to config fileAcceptance criteria
Functional:
react-native init
application (produces working artifact on root level)Non-functional: