chore: Add build function

This commit is contained in:
Leni Aniva 2024-12-06 16:43:12 -08:00
parent ca437c3855
commit 3884d75f1c
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 9 additions and 0 deletions

View File

@ -52,3 +52,12 @@ class LightPanel(Model):
]) ])
.rect(w0, self.grid_height, mode='s') .rect(w0, self.grid_height, mode='s')
) )
if __name__ == '__main__':
import sys
p = LightPanel()
if len(sys.argv) == 1:
p.build_all()
sys.exit(0)