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

generated output folder name not being respected #42

Closed
SerggioC opened this issue Sep 26, 2020 · 3 comments · Fixed by #43
Closed

generated output folder name not being respected #42

SerggioC opened this issue Sep 26, 2020 · 3 comments · Fixed by #43
Assignees
Milestone

Comments

@SerggioC
Copy link

SerggioC commented Sep 26, 2020

Setting flutter_gen as the output folder name, the generated folder name is always gen/

flutter_gen:
  output: lib/flutter_gen/

Can you solve this? Thanks!

@wasabeef wasabeef self-assigned this Sep 26, 2020
@wasabeef wasabeef modified the milestones: 1.2.0, 1.2.1 Sep 26, 2020
@wasabeef wasabeef mentioned this issue Sep 26, 2020
@wasabeef wasabeef reopened this Sep 26, 2020
@wasabeef
Copy link
Member

wasabeef commented Sep 26, 2020

@SerggioC
Thank you for your report.
Just released the fixed version that.

brew

$ brew upgrade FlutterGen/tap/fluttergen

or

dart cli

$ pub global activate flutter_gen

or

build_runner

$ flutter pub get
$ flutter packages pub run build_runner build

@SerggioC
Copy link
Author

That worked. Thanks for the quick fix!

@orestesgaolin
Copy link

One important thing is that the provided output needs to exist before running. If there's no flutter_gen folder, then the tool will use default gen either way

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

Successfully merging a pull request may close this issue.

3 participants