-
Notifications
You must be signed in to change notification settings - Fork 29.2k
Closed
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityplatform-webWeb applications specificallyWeb applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Description
Use case
As described in this issue, it would be nice to be able to specify the output directory for flutter builds. For example, when building a flutter-for-web app with flutter build web
, my output always ends up in the /build/web
folder. I'd like to be able to specify where the built files end up, similar to what I can do for individual dart files with Dart2js's --out flag.
Proposal
Add a --out flag to the the flutter build command to allow specifying the build directory. For example, flutter build web --out=my_custom_build/web
p554157atch, onatcipli, ShawnRG, doppio, eyouyou and 64 morep554157atchp554157atchp554157atch and schneithp554157atchkenthinson, nt4f04uNd, NidheeshMt, gebes, tsinis and 5 morep554157atch, schneith and TheoPthp554157atch, schneith and olex-green
Metadata
Metadata
Assignees
Labels
P3Issues that are less important to the Flutter projectIssues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityNothing broken; request for a new capabilityplatform-webWeb applications specificallyWeb applications specificallytoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
Type
Projects
Status
Future tool team projects