diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-02-09 11:53:09 +0900 |
---|---|---|
committer | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-02-09 11:53:09 +0900 |
commit | d6e3aa98e2a4966a14b7331f31fd0798863550e1 (patch) | |
tree | bf8abe9b68afb4120fdc98a080e54f361f2661a6 /scripts/html_status.py | |
parent | b372cf17db0b15d2c85cc03423309e59b085c0c8 (diff) |
scripts: add html_member/status/team/bsp.py
Because current PeriJect is using scripts/myhtml.py to
creating all HTML files, all files will be re-created
if myhtml.py itself was updated.
It is very verbose. This patch separates
"member", "status", "team", "bsp" from it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'scripts/html_status.py')
-rwxr-xr-x | scripts/html_status.py | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/scripts/html_status.py b/scripts/html_status.py new file mode 100755 index 0000000..e8a9bea --- /dev/null +++ b/scripts/html_status.py @@ -0,0 +1,40 @@ +#! /usr/bin/env python3 +#=============================== +# +# html_status +# +# 2021/02/09 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> +#=============================== +import sys + +import html_base +from html_base import html +#==================================== +# +# periject_html +# +#==================================== +class periject_html(html_base.myhtml): + + #-------------------- + # print + #-------------------- + def print(self, argv): + # remove this script + argv.pop(0) + argv.pop(0) + + dir = "{}/html".format(self.top()) + + self.print_css(dir) + with html("body"): + self.summary(None, dir, argv) + +#==================================== +# +# As command +# +#==================================== +if __name__=='__main__': + # ./script/find.py -s Active | xargs ./script/html_status.py Active + periject_html().print(sys.argv) |