Skip to content
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

Allow build command without restore and/or production flags #329

Open
pedromsilvapt opened this issue Aug 11, 2023 · 1 comment
Open

Allow build command without restore and/or production flags #329

pedromsilvapt opened this issue Aug 11, 2023 · 1 comment

Comments

@pedromsilvapt
Copy link

Running cmf build is quite slow because it always performs a restore (install packages/modules/dependencies) and builds with production flags (brotli compression, release mode).

To be able to use cmf build during development, and also to facilitate generating packages outside of our pipelines, such as directly by a customer, it would be nice to:

  • Add --norestore flag, which skips installing the dependencies. This would keep backwards compatibility, while also allowing the user to perform faster builds after the initial one
  • Add --dev flag, which would build things in debug mode rather than production mode. This would make the build command much faster, enabling the tool to be used for local development workflows.
@m-s-
Copy link
Collaborator

m-s- commented Aug 28, 2023

This is on the roadmap but probably as a part of the dev plugin. I'll keep this open for reference until we have something going :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants