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
d8155347
Commit
d8155347
authored
Apr 01, 2016
by
Devon Carew
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3041 from devoncarew/pubspec_changes
pubspec normalization; remove den
parents
4cc9416b
18d29583
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
13 deletions
+17
-13
pubspec.yaml
packages/flutter_driver/pubspec.yaml
+2
-2
executable.dart
packages/flutter_tools/lib/executable.dart
+11
-4
analyze.dart
packages/flutter_tools/lib/src/commands/analyze.dart
+4
-6
pubspec.yaml
packages/flutter_tools/pubspec.yaml
+0
-1
No files found.
packages/flutter_driver/pubspec.yaml
View file @
d8155347
...
...
@@ -17,6 +17,6 @@ dependencies:
path
:
'
../flutter_test'
dev_dependencies
:
test
:
'
>=0.12.6
<1.0.0'
test
:
0.12.13
mockito
:
^0.11.0
quiver
:
'
>=0.21.4
<0.22.0'
quiver
:
^0.21.4
packages/flutter_tools/lib/executable.dart
View file @
d8155347
...
...
@@ -98,11 +98,18 @@ Future<Null> main(List<String> args) async {
stderr
.
writeln
();
stderr
.
writeln
(
'Oops; flutter has exited unexpectedly: "
$error
"'
);
File
file
=
_createCrashReport
(
args
,
error
,
chain
);
stderr
.
writeln
();
stderr
.
writeln
(
'Crash report written to
${path.relative(file.path)}
.'
);
stderr
.
writeln
(
'Please let us know at https://github.com/flutter/flutter/issues!'
);
if
(
Platform
.
environment
.
containsKey
(
'FLUTTER_DEV'
))
{
// If we're working in the tools themselves, just print the stack trace.
stderr
.
writeln
(
chain
.
terse
.
toString
());
}
else
{
File
file
=
_createCrashReport
(
args
,
error
,
chain
);
stderr
.
writeln
(
'Crash report written to
${path.relative(file.path)}
.'
);
stderr
.
writeln
(
'Please let us know at https://github.com/flutter/flutter/issues!'
);
}
exit
(
1
);
}
});
...
...
packages/flutter_tools/lib/src/commands/analyze.dart
View file @
d8155347
...
...
@@ -7,7 +7,7 @@ import 'dart:collection';
import
'dart:convert'
;
import
'dart:io'
;
import
'package:
den_api/den_api.dart'
;
import
'package:
yaml/yaml.dart'
as
yaml
;
import
'package:path/path.dart'
as
path
;
import
'../artifacts.dart'
;
...
...
@@ -123,9 +123,7 @@ class AnalyzeCommand extends FlutterCommand {
bool
get
requiresProjectRoot
=>
false
;
@override
Future
<
int
>
runInProject
()
async
{
return
argResults
[
'watch'
]
?
_analyzeWatch
()
:
_analyzeOnce
();
}
Future
<
int
>
runInProject
()
=>
argResults
[
'watch'
]
?
_analyzeWatch
()
:
_analyzeOnce
();
List
<
String
>
flutterRootComponents
;
bool
isFlutterLibrary
(
String
filename
)
{
...
...
@@ -243,8 +241,8 @@ class AnalyzeCommand extends FlutterCommand {
// we are analyzing the actual canonical source for this package;
// make sure we remember that, in case all the packages are actually
// pointing elsewhere somehow.
Pubspec
pubSpecYaml
=
await
Pubspec
.
load
(
pubSpecYamlPath
);
String
packageName
=
pubSpecYaml
.
name
;
yaml
.
YamlMap
pubSpecYaml
=
yaml
.
loadYaml
(
new
File
(
pubSpecYamlPath
).
readAsStringSync
()
);
String
packageName
=
pubSpecYaml
[
'name'
]
;
String
packagePath
=
path
.
normalize
(
path
.
absolute
(
path
.
join
(
directory
.
path
,
'lib'
)));
dependencies
.
addCanonicalCase
(
packageName
,
packagePath
,
pubSpecYamlPath
);
}
...
...
packages/flutter_tools/pubspec.yaml
View file @
d8155347
...
...
@@ -12,7 +12,6 @@ dependencies:
archive
:
^1.0.20
args
:
^0.13.4
crypto
:
0.9.2
den_api
:
^0.1.0
file
:
^0.1.0
json_schema
:
^1.0.3
mustache4dart
:
^1.0.0
...
...
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