...
 
Commits (2)
......@@ -40,7 +40,7 @@ class AppConfig(apps.AppConfig):
self.bcomponents = {
tag.encode('utf8'): definitions
for tag, definitions in self.components.items()
for tag, definitions in copy.deepcopy(self.components).items()
}
for tag, definition in self.bcomponents.items():
for i in range(0, len(self.bcomponents[tag])):
......
......@@ -34,7 +34,9 @@ class Command(BaseCommand):
)
self.task_queue.enqueue([
AsyncTask(self.script_install, script)
for script in self.djwc.components.values()
for t in self.djwc.components.values()
for d in t
for script in d.values()
])
print(f'Ensuring all dependencies extracted in {self.djwc.static} ...')
await self.task_queue.execute()
......@@ -47,7 +49,9 @@ class Command(BaseCommand):
)
self.task_queue.enqueue([
AsyncTask(self.script_patch, script)
for script in self.djwc.components.values()
for t in self.djwc.components.values()
for d in t
for script in d.values()
])
print(f'Ensuring all scripts have patched imports ...')
await self.task_queue.execute()
......