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
168ad5dc
Unverified
Commit
168ad5dc
authored
Nov 09, 2020
by
Michael Thomsen
Committed by
GitHub
Nov 09, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Roll engine and fix pubspecs that do not have a Dart SDK constraint (#70078)
parent
d18bd9a5
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
23 additions
and
4 deletions
+23
-4
engine.version
bin/internal/engine.version
+1
-1
google_benchmark.dart
dev/benchmarks/metrics_center/lib/google_benchmark.dart
+4
-0
pubspec.yaml
dev/benchmarks/metrics_center/pubspec.yaml
+3
-0
analyze-sample-code.dart
dev/bots/analyze-sample-code.dart
+2
-0
dartdoc.dart
dev/tools/dartdoc.dart
+2
-0
update_packages.dart
packages/flutter_tools/lib/src/commands/update_packages.dart
+2
-0
analyze_continuously_test.dart
...st/commands.shard/hermetic/analyze_continuously_test.dart
+5
-3
stepping_project.dart
...ls/test/integration.shard/test_data/stepping_project.dart
+4
-0
No files found.
bin/internal/engine.version
View file @
168ad5dc
0f7cdca65fba5619c02d00bb5faa40a4f1950df7
3cf292226986c992090b3342b86e54c0f4ba7f75
dev/benchmarks/metrics_center/lib/google_benchmark.dart
View file @
168ad5dc
...
...
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// This file uses Dart 2.12 semantics. This is needed as we can't upgrade
// the SDK constraint to `>=2.12.0-0` before the deps are ready.
// @dart=2.12
import
'dart:convert'
;
import
'dart:io'
;
...
...
dev/benchmarks/metrics_center/pubspec.yaml
View file @
168ad5dc
name
:
metrics_center
environment
:
sdk
:
'
>=2.10.0
<3.0.0'
dependencies
:
args
:
1.6.0
crypto
:
2.1.5
...
...
dev/bots/analyze-sample-code.dart
View file @
168ad5dc
...
...
@@ -491,6 +491,8 @@ class SampleChecker {
final File analysisOptions = File(path.join(directory.path, '
analysis_options
.
yaml
'))..createSync(recursive: true);
pubSpec.writeAsStringSync('''
name:
analyze_sample_code
environment:
sdk:
'>=2.10.0 <3.0.0'
dependencies:
flutter:
sdk:
flutter
...
...
dev/tools/dartdoc.dart
View file @
168ad5dc
...
...
@@ -56,6 +56,8 @@ Future<void> main(List<String> arguments) async {
buf
.
writeln
(
'homepage: https://flutter.dev'
);
// TODO(dnfield): Re-factor for proper versioning, https://github.com/flutter/flutter/issues/55409
buf
.
writeln
(
'version: 0.0.0'
);
buf
.
writeln
(
'environment:'
);
buf
.
writeln
(
" sdk: '>=2.10.0 <3.0.0'"
);
buf
.
writeln
(
'dependencies:'
);
for
(
final
String
package
in
findPackageNames
())
{
buf
.
writeln
(
'
$package
:'
);
...
...
packages/flutter_tools/lib/src/commands/update_packages.dart
View file @
168ad5dc
...
...
@@ -1259,6 +1259,8 @@ String _generateFakePubspec(Iterable<PubspecDependency> dependencies) {
final
StringBuffer
result
=
StringBuffer
();
final
StringBuffer
overrides
=
StringBuffer
();
result
.
writeln
(
'name: flutter_update_packages'
);
result
.
writeln
(
'environment:'
);
result
.
writeln
(
" sdk: '>=2.10.0 <3.0.0'"
);
result
.
writeln
(
'dependencies:'
);
overrides
.
writeln
(
'dependency_overrides:'
);
if
(
_kManuallyPinnedDependencies
.
isNotEmpty
)
{
...
...
packages/flutter_tools/test/commands.shard/hermetic/analyze_continuously_test.dart
View file @
168ad5dc
...
...
@@ -4,20 +4,20 @@
import
'dart:async'
;
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/artifacts.dart'
;
import
'package:flutter_tools/src/base/common.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
import
'package:mockito/mockito.dart'
;
import
'package:file/memory.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/io.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/base/platform.dart'
;
import
'package:flutter_tools/src/base/terminal.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
import
'package:flutter_tools/src/commands/analyze.dart'
;
import
'package:flutter_tools/src/dart/analysis.dart'
;
import
'package:flutter_tools/src/dart/pub.dart'
;
import
'package:flutter_tools/src/globals.dart'
as
globals
;
import
'package:mockito/mockito.dart'
;
import
'package:process/process.dart'
;
import
'../../src/common.dart'
;
...
...
@@ -55,6 +55,8 @@ void main() {
final
File
pubspecFile
=
fileSystem
.
file
(
fileSystem
.
path
.
join
(
directory
.
path
,
'pubspec.yaml'
));
pubspecFile
.
writeAsStringSync
(
'''
name: foo_project
environment:
sdk: '
>=
2.10
.
0
<
3.0
.
0
'
'''
);
final
File
dartFile
=
fileSystem
.
file
(
fileSystem
.
path
.
join
(
directory
.
path
,
'lib'
,
'main.dart'
));
...
...
packages/flutter_tools/test/integration.shard/test_data/stepping_project.dart
View file @
168ad5dc
...
...
@@ -8,6 +8,8 @@ class SteppingProject extends Project {
@override
final
String
pubspec
=
'''
name: test
environment:
sdk: '
>=
2.10
.
0
<
3.0
.
0
'
dependencies:
flutter:
sdk: flutter
...
...
@@ -62,6 +64,8 @@ class WebSteppingProject extends Project {
@override
final
String
pubspec
=
'''
name: test
environment:
sdk: '
>=
2.10
.
0
<
3.0
.
0
'
dependencies:
flutter:
sdk: flutter
...
...
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