Skip to content

Commit

Permalink
main.py: re-work, adding a new WestApp class
Browse files Browse the repository at this point in the history
The main() function has gotten really long, and it's getting hard to
read. I want to break it up, but there's a fair bit of interdependent
state to manage.

Rather than using global variables, create a WestApp instance to
contain them all and use it instead. This helps with readability
without making zephyrproject-rtos#149 harder to do.

We'll extend this later to handle manifest imports.

Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
  • Loading branch information
mbolivar-nordic committed Dec 4, 2019
1 parent 25ec1b9 commit a442d2f
Show file tree
Hide file tree
Showing 2 changed files with 382 additions and 326 deletions.
Loading

0 comments on commit a442d2f

Please sign in to comment.