I am looking for a build.yaml
file in the flutter project, but I can't find it.
Is there any way I can edit this file?
Asked
Active
Viewed 8,039 times
16

Arsen Khachaturyan
- 7,904
- 4
- 42
- 42

Michael Cube
- 195
- 2
- 10
1 Answers
23
The file is only there if you create it.
It should be in the same directory as the pubspec.yaml
file.
See also https://github.com/dart-lang/build/blob/master/docs/build_yaml_format.md

Günter Zöchbauer
- 623,577
- 216
- 2,003
- 1,567
-
1I have flutter project (Mobile application not web), and there is no build.yaml, any idea where can be found or need to create? want to exclude some files any way? – Uttam Panchasara Jul 03 '20 at 08:02
-
1You need to create it. See also https://github.com/flutter/flutter/wiki/Code-generation-in-Flutter. What are you trying to accomplish? `build.yaml` is for code generation, not for Dart-to-binary compilation. – Günter Zöchbauer Jul 03 '20 at 08:27
-
Okay I have created one, want to exclude some file I'm trying using this https://pub.dev/packages/build_config#-readme-tab- – Uttam Panchasara Jul 03 '20 at 08:43
-
is it possible? – Uttam Panchasara Jul 03 '20 at 08:44