-
Notifications
You must be signed in to change notification settings - Fork 45
WIP: make invenio-cli assets build faster #377
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: make invenio-cli assets build faster #377
Conversation
|
just for the record; a brief summary of private communications: def update_statics_and_assets(self, force, flask_env="production", log_file=None):
"""High-level command to update less/js/images/... files.
Needed here (parent) because is used by Assets and Install commands.
"""
app = create_cli()
with app.app_context():
project.app = app
collect = Collect(app)
collect.collect(verbose=True)
project.clean()
project.create()
project.install()
copied_files = self._copy_statics_and_assets()
self._symlink_assets_templates(copied_files)
project.build()this made the build process go through, but with no assets actually collected: i haven't dug much deeper into this, but very likely it's because of one possibility would be to implement the grouped-together functionality as a CLI command for an invenio package (e.g. in it seems that the first option is the preferred one right now. |
|
superseded by #383 |
No description provided.