Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
07735578
Unverified
Commit
07735578
authored
Jul 17, 2019
by
Tim Sneath
Committed by
GitHub
Jul 17, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spelling error and clarify universal flag (#36331)
parent
4eb11c9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
cache.dart
packages/flutter_tools/lib/src/cache.dart
+4
-4
precache.dart
packages/flutter_tools/lib/src/commands/precache.dart
+8
-8
No files found.
packages/flutter_tools/lib/src/cache.dart
View file @
07735578
...
...
@@ -26,7 +26,7 @@ class DevelopmentArtifact {
/// This should match the flag name in precache.dart
final
String
name
;
/// Whether this artifact should
not be us
able on stable branches.
/// Whether this artifact should
be unavail
able on stable branches.
final
bool
unstable
;
/// Artifacts required for Android development.
...
...
@@ -35,7 +35,7 @@ class DevelopmentArtifact {
/// Artifacts required for iOS development.
static
const
DevelopmentArtifact
iOS
=
DevelopmentArtifact
.
_
(
'ios'
);
/// Artifacts required for web development
,
/// Artifacts required for web development
.
static
const
DevelopmentArtifact
web
=
DevelopmentArtifact
.
_
(
'web'
,
unstable:
true
);
/// Artifacts required for desktop macOS.
...
...
@@ -44,13 +44,13 @@ class DevelopmentArtifact {
/// Artifacts required for desktop Windows.
static
const
DevelopmentArtifact
windows
=
DevelopmentArtifact
.
_
(
'windows'
,
unstable:
true
);
/// Artifacts required for desktop
l
inux.
/// Artifacts required for desktop
L
inux.
static
const
DevelopmentArtifact
linux
=
DevelopmentArtifact
.
_
(
'linux'
,
unstable:
true
);
/// Artifacts required for Fuchsia.
static
const
DevelopmentArtifact
fuchsia
=
DevelopmentArtifact
.
_
(
'fuchsia'
,
unstable:
true
);
/// Artifacts required
by all developments
.
/// Artifacts required
for any development platform
.
static
const
DevelopmentArtifact
universal
=
DevelopmentArtifact
.
_
(
'universal'
);
/// The values of DevelopmentArtifacts.
...
...
packages/flutter_tools/lib/src/commands/precache.dart
View file @
07735578
...
...
@@ -16,21 +16,21 @@ class PrecacheCommand extends FlutterCommand {
argParser
.
addFlag
(
'force'
,
abbr:
'f'
,
negatable:
false
,
help:
'Force downloading of artifacts.'
);
argParser
.
addFlag
(
'android'
,
negatable:
true
,
defaultsTo:
true
,
help:
'Precache artifacts for Android development'
);
help:
'Precache artifacts for Android development
.
'
);
argParser
.
addFlag
(
'ios'
,
negatable:
true
,
defaultsTo:
true
,
help:
'Precache artifacts for iOS develop
emnt
'
);
help:
'Precache artifacts for iOS develop
ment.
'
);
argParser
.
addFlag
(
'web'
,
negatable:
true
,
defaultsTo:
false
,
help:
'Precache artifacts for web development'
);
help:
'Precache artifacts for web development
.
'
);
argParser
.
addFlag
(
'linux'
,
negatable:
true
,
defaultsTo:
false
,
help:
'Precache artifacts for
linux desktop development
'
);
help:
'Precache artifacts for
Linux desktop development.
'
);
argParser
.
addFlag
(
'windows'
,
negatable:
true
,
defaultsTo:
false
,
help:
'Precache artifacts for
windows desktop development
'
);
help:
'Precache artifacts for
Windows desktop development.
'
);
argParser
.
addFlag
(
'macos'
,
negatable:
true
,
defaultsTo:
false
,
help:
'Precache artifacts for macOS desktop development'
);
help:
'Precache artifacts for macOS desktop development
.
'
);
argParser
.
addFlag
(
'fuchsia'
,
negatable:
true
,
defaultsTo:
false
,
help:
'Precache artifacts for Fuchsia development'
);
help:
'Precache artifacts for Fuchsia development
.
'
);
argParser
.
addFlag
(
'universal'
,
negatable:
true
,
defaultsTo:
true
,
help:
'Precache artifacts required for a
ll developments
'
);
help:
'Precache artifacts required for a
ny development platform.
'
);
}
@override
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment