oppia / oppia-android

A free, online & offline learning platform to make quality education accessible for all.
https://www.oppia.org
Apache License 2.0
320 stars 520 forks source link

Using bazel to build the shell scripts [Blocked on Discussion] #2938

Open FareesHussain opened 3 years ago

FareesHussain commented 3 years ago

Is your feature request related to a problem? Please describe. When setting up the project different tools are used

there might be some new features that require some new tools too inspired from oppia-web that when setting up the project the pre-commit and pre-push hooks are added

This will reduce a lot of FAQs only requirement for the project would be installing bazel

Describe the solution you'd like In Oppia-web almost every script is run using the same tool (i.e python) it will setup all the requirements in a single command Wondering to use the same for Oppia-Android too taking the advantage of Bazel's most important feature -- multi language build to setup the whole project in one build including

Additional context We will be using Starlark for the logic to check if the project is set up as expected before building the app

All the above checks would have an exception handling with a suggestion that would avoid the most of the FAQs while building the project, this will save huge time for both contributor and the maintainer

FareesHussain commented 3 years ago

cc/ @BenHenning @fsharpasharp

FareesHussain commented 3 years ago

This feature can be used now but the purpose for this will be only after the complete migration of gradle to bazel