mirror of
https://github.com/LmeSzinc/StarRailCopilot.git
synced 2024-11-16 06:25:24 +00:00
Fix: Add auto-generated notice in route files
This commit is contained in:
parent
8f25862b77
commit
6212b081ce
@ -75,6 +75,8 @@ class RouteExtract:
|
|||||||
gen.Import("""
|
gen.Import("""
|
||||||
from tasks.map.route.base import RouteData
|
from tasks.map.route.base import RouteData
|
||||||
""")
|
""")
|
||||||
|
gen.CommentAutoGenerage('dev_tools.route_extract')
|
||||||
|
|
||||||
for f in self.iter_files():
|
for f in self.iter_files():
|
||||||
for row in self.extract_route(f):
|
for row in self.extract_route(f):
|
||||||
with gen.Object(key=row.name, object_class='RouteData'):
|
with gen.Object(key=row.name, object_class='RouteData'):
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
from tasks.map.route.base import RouteData
|
from tasks.map.route.base import RouteData
|
||||||
|
|
||||||
|
# This file was auto-generated, do not modify it manually. To generate:
|
||||||
|
# ``` python -m dev_tools.route_extract ```
|
||||||
|
|
||||||
ForgottenHallStage1__route = RouteData(
|
ForgottenHallStage1__route = RouteData(
|
||||||
name='ForgottenHallStage1__route',
|
name='ForgottenHallStage1__route',
|
||||||
|
Loading…
Reference in New Issue
Block a user