buildman: Move the main code into a function
authorSimon Glass <sjg@chromium.org>
Fri, 24 Feb 2023 01:18:09 +0000 (18:18 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 8 Mar 2023 19:40:49 +0000 (11:40 -0800)
commit793aa1761929bc95fe88ef8d0f9747833d185f36
tree6a51ad7c15992f74a65cfcba709eedc4a6092575
parent30eb11ae0483f95f85b483a44387163478bb14d8
buildman: Move the main code into a function

Put this code into a function so it is easy for it be run when packaged.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/buildman/main.py