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

Support for '--dart-define-from-file' via Command Line #2196

Closed
Bwolfs2 opened this issue May 16, 2024 · 4 comments
Closed

Support for '--dart-define-from-file' via Command Line #2196

Bwolfs2 opened this issue May 16, 2024 · 4 comments

Comments

@Bwolfs2
Copy link

Bwolfs2 commented May 16, 2024

I'm currently using the Flutter Patrol package and have encountered an issue. The package does not support the '--dart-define-from-file' option via the command line. This feature is crucial for my project's workflow, and I'm wondering if there are any plans to implement this functionality.

Could you please let me know if this feature is on the roadmap, and if so, when we might expect it to be available in the package? Any information or guidance you can provide would be greatly appreciated.

Old PR Add dart defines from file

@bartekpacia
Copy link
Contributor

Why is it crucial for your project? What is possible with --dart-define-from-file that is not possible with --dart-define?

@Bwolfs2
Copy link
Author

Bwolfs2 commented May 21, 2024

It works, but we have 24 variables and, for now, 5 whitelabels. Sometimes, the variables are changed and not the Test variables. If we have the --dart-define-from-file option, we can use the same files for whitelabels and for testing. We currently have 5 whitelabels, but we will be adding more.

@jBorkowska
Copy link
Collaborator

Closing as duplicate of #1742

Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar problem, please file a new issue. Make sure to follow the template and provide all the information necessary to reproduce the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants