chore: Add build function
This commit is contained in:
parent
ca437c3855
commit
3884d75f1c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue