- 14 Nov, 2016 2 commits
-
-
Dan Rubel authored
* Remove the workaround that pinned args to v0.13.6 This reverts most of the changes in commit 6331b6c8 * throw exception if exit code is not an integer * rework command infrastructure to throw ToolExit when non-zero exitCode * convert commands to return Future<Null> * cleanup remaining commands to use throwToolExit for non-zero exit code * remove isUnusual exception message * add type annotations for updated args package
-
Dan Rubel authored
* convert pubGet to throw ToolExit on non-zero exit code * convert commandValidator to throw ToolExit for non-zero exit code * convert flutter commands to throw ToolExit for non-zero exit code * use convenience method throwToolExit * only show "if this problem persists" for unusual exceptions
-
- 22 Sep, 2016 1 commit
-
-
Dan Rubel authored
* show hidden flags when showing verbose help * flutter -v show verbose help
-
- 16 Sep, 2016 1 commit
-
-
Dan Rubel authored
* refactor _run to runCmd * replace requiresProjectRoot getter with call to commandValidator * replace requiresDevice getter with call to findTargetDevice * trace command requires a debug connection, not a device * inline androidOnly getter * rename command methods to verifyTheRunCmd and runCmd * move common verification into BuildSubCommand * rename deviceForCommand to device * rename methods to verifyThenRunCommand and runCommand
-
- 25 Aug, 2016 1 commit
-
-
Chris Bracken authored
This change adds a top-level getBuildDirectory func and funcs for android, aot, asset, ios build products. Developers may now add a "build-dir" mapping to their ~/.flutter_settings (JSON format) config file. Output directory is relative to the main flutter application directory. This change also changes the default build directory for iOS builds to a subdirectory of the configured build directory, 'build/ios' by default.
-
- 10 Aug, 2016 1 commit
-
-
Ian Hickson authored
Also, add a "flutter build flx --report-licensed-packages" option for when you need to get the list of the packages affected by licenses.
-
- 25 Jul, 2016 3 commits
-
-
Devon Carew authored
* This reverts commit 5e7e7b6e. * default to lib/main.dart
-
Devon Carew authored
This reverts commit 32ad81c8.
-
Devon Carew authored
-
- 21 Jul, 2016 1 commit
-
-
Yegor authored
-
- 11 May, 2016 1 commit
-
-
Jason Simmons authored
Host tools can be found in the artifact cache directory for the host platform. If a developer wants to use a local engine build instead, then provide an --engine-build flag that selects the specific engine build variant.
-
- 04 Apr, 2016 1 commit
-
-
Devon Carew authored
-
- 28 Mar, 2016 1 commit
-
-
Jason Simmons authored
-
- 21 Mar, 2016 1 commit
-
-
Devon Carew authored
-
- 17 Mar, 2016 1 commit
-
-
Devon Carew authored
-
- 14 Mar, 2016 1 commit
-
-
Hixie authored
-
- 11 Mar, 2016 1 commit
-
-
Jason Simmons authored
-
- 09 Mar, 2016 2 commits
-
-
Jason Simmons authored
This allows building an FLX without leaving any temporary files in the app's source directory
-
Alhaad Gokhale authored
Fixes #1942.
-
- 07 Mar, 2016 1 commit
-
-
Devon Carew authored
-
- 04 Mar, 2016 1 commit
-
-
Steve Messick authored
-
- 02 Mar, 2016 1 commit
-
-
Adam Barth authored
Rather than managing all the Material Design icons manually, we now manage them using an icon font. The icon font contains glyphs for each icon in an efficient vector format. This patch updates the FLX tooling to include the MaterialIcons font and updates the Icon widget to use the font instead of asset images. Fixes #2313 Fixes #2218 Fixes #2009 Fixes #994
-
- 17 Feb, 2016 1 commit
-
-
Devon Carew authored
-
- 10 Feb, 2016 1 commit
-
-
Devon Carew authored
-
- 04 Feb, 2016 1 commit
-
-
Todd Volkert authored
This splits flx.build() into two methods, flx.build() and flx.assemble(). builD() now does the following: 1) constructs the manifest map by reading the manifest from the file system 2) "compiles" the dart code into the snapshot file 3) Invokes assemble() This allows external build toolchains to construct their own manifest map (possibly using a different manifest syntax) and create their own snapshot file
-
- 03 Feb, 2016 3 commits
-
-
Devon Carew authored
-
Devon Carew authored
-
Devon Carew authored
-
- 28 Jan, 2016 1 commit
-
-
Devon Carew authored
rename to printTrace(), printStatus(), and printError()
-
- 20 Jan, 2016 1 commit
-
-
Devon Carew authored
-
- 10 Dec, 2015 1 commit
-
-
Adam Barth authored
Instead of failing with a cryptic error message about app.flx, we now fail with an explicit message about the compiler. Releated to #865
-
- 29 Nov, 2015 1 commit
-
-
Adam Barth authored
1) Moved basic utility code into base/ directory to make it clear which code doesn't depend on Flutter-specific knowldge. 2) Move the CommandRunner subclasses into a runner/ directory because these aren't commands themselves.
-
- 25 Nov, 2015 1 commit
-
-
Devon Carew authored
-
- 20 Nov, 2015 1 commit
-
-
Adam Barth authored
Fixes #512
-
- 18 Nov, 2015 2 commits
-
-
Adam Barth authored
Now we print the name of the asset and the base directory where we looked for the error instead of throwing a null pointer exception. Fixes #296
-
Adam Barth authored
This makes run_mojo more similar to flutter start.
-
- 17 Nov, 2015 1 commit
-
-
Adam Barth authored
Adding all the sizes of all the icons adds about 50 KB to the stocks FLX. That's probably the right trade-off until we get better at pruning the set of assets. Fixes #235
-
- 12 Nov, 2015 1 commit
-
-
Hixie authored
Other changes in this patch: - Make the 'flutter' tool say "Updating flutter tool..." when it calls pub get, to avoid confusion about what the pub get output is about. - Make the bash flutter tool call pub get when the revision has changed. (This was already happening on Windows.) - Fix a raft of bugs found by the analyzer. - Fix some style nits in various bits of code that happened to be near things the analyzer noticed. - Remove the logic in "flutter test" that would run "pub get", since upon further reflexion it was determined it didn't work anyway. We'll probably have to add better diagnostics here and say to run the updater script. - Remove the native velocity tracker script, since it was testing code that has since been removed. Notes on ignored warnings: - We ignore warnings in any packages that are not in the Flutter repo or in the author's current directory. - We ignore various irrelevant Strong Mode warnings. We still enable strong mode because even though it's not really relevant to our needs, it does (more or less accidentally) catch a few things that are helpful to us. - We allow CONSTANTS_LIKE_THIS, since we get some of those from other platforms that we are copying for sanity and consistency. - We allow one-member abstract classes since we have a number of them where it's perfectly reasonable. - We unfortunately still ignore warnings in mojom.dart autogenerated files. We should really fix those but that's a separate patch. - We verify the actual source file when we see the 'Name non-constant identifiers using lowerCamelCase.' lint, to allow one-letter variables that use capital letters (e.g. for physics expressions) and to allow multiple-underscore variable names. - We ignore all errors on lines that contain the following magic incantation and a "#" character: // analyzer doesn't like constructor tear-offs - For all remaining errors, if the line contains a comment of the form // analyzer says "..." ...then we ignore any errors that have that "..." string in them.
-
- 07 Nov, 2015 1 commit
-
-
Adam Barth authored
-
- 04 Nov, 2015 1 commit
-
-
Matt Perry authored
-