summaryrefslogtreecommitdiffstats
path: root/g2h/cli.py
diff options
context:
space:
mode:
Diffstat (limited to 'g2h/cli.py')
-rw-r--r--g2h/cli.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/g2h/cli.py b/g2h/cli.py
index 52a2be7..fbc456e 100644
--- a/g2h/cli.py
+++ b/g2h/cli.py
@@ -34,6 +34,8 @@ def main():
tree = factory.new_tree(commit, '', git.get_repo())
for tree_page in tree.build_pages(factory):
tree_page.render()
+ for file in tree_page.get_files():
+ factory.new_file(commit, file).render()
if __name__ == '__main__':
main()