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 Nov 15, 2019
1 parent 81c360e commit 5be7cde
Show file tree
Hide file tree
Showing 2 changed files with 381 additions and 326 deletions.
Loading

0 comments on commit 5be7cde

Please sign in to comment.