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
d729e70e
Unverified
Commit
d729e70e
authored
May 28, 2019
by
Jonah Williams
Committed by
GitHub
May 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correctly pin build_daemon (#33463)
parent
f9e28e7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
build_runner.dart
...ages/flutter_tools/lib/src/build_runner/build_runner.dart
+4
-2
No files found.
packages/flutter_tools/lib/src/build_runner/build_runner.dart
View file @
d729e70e
...
...
@@ -27,7 +27,8 @@ import '../project.dart';
import
'build_script_generator.dart'
;
/// The minimum version of build_runner we can support in the flutter tool.
const
String
kMinimumBuildRunnerVersion
=
'1.2.8'
;
const
String
kMinimumBuildRunnerVersion
=
'1.4.0'
;
const
String
kSupportedBuildDaemonVersion
=
'0.6.1'
;
/// A wrapper for a build_runner process which delegates to a generated
/// build script.
...
...
@@ -47,7 +48,7 @@ class BuildRunner extends CodeGenerator {
final
File
syntheticPubspec
=
generatedDirectory
.
childFile
(
'pubspec.yaml'
);
// Check if contents of builders changed. If so, invalidate build script
// and regnerate.
// and reg
e
nerate.
final
YamlMap
builders
=
flutterProject
.
builders
;
final
List
<
int
>
appliedBuilderDigest
=
_produceScriptId
(
builders
);
if
(
scriptIdFile
.
existsSync
()
&&
buildSnapshot
.
existsSync
())
{
...
...
@@ -100,6 +101,7 @@ class BuildRunner extends CodeGenerator {
}
}
stringBuffer
.
writeln
(
' build_runner: ^
$kMinimumBuildRunnerVersion
'
);
stringBuffer
.
writeln
(
' build_daemon:
$kSupportedBuildDaemonVersion
'
);
await
syntheticPubspec
.
writeAsString
(
stringBuffer
.
toString
());
await
pubGet
(
...
...
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