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
694d54cc
Unverified
Commit
694d54cc
authored
Jul 23, 2019
by
Jonah Williams
Committed by
GitHub
Jul 23, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Place build outputs under dart tool (#36585)
parent
22dc6b01
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
assemble.dart
packages/flutter_tools/lib/src/commands/assemble.dart
+3
-2
assemble_test.dart
...tter_tools/test/general.shard/commands/assemble_test.dart
+2
-4
No files found.
packages/flutter_tools/lib/src/commands/assemble.dart
View file @
694d54cc
...
...
@@ -4,7 +4,6 @@
import
'../base/common.dart'
;
import
'../base/context.dart'
;
import
'../base/file_system.dart'
;
import
'../build_info.dart'
;
import
'../build_system/build_system.dart'
;
import
'../convert.dart'
;
...
...
@@ -94,7 +93,9 @@ abstract class AssembleBase extends FlutterCommand {
Environment
get
environment
{
final
FlutterProject
flutterProject
=
FlutterProject
.
current
();
final
Environment
result
=
Environment
(
buildDir:
fs
.
directory
(
getBuildDirectory
()),
buildDir:
flutterProject
.
directory
.
childDirectory
(
'.dart_tool'
)
.
childDirectory
(
'flutter_build'
),
projectDir:
flutterProject
.
directory
,
defines:
_parseDefines
(
argResults
[
'define'
]),
);
...
...
packages/flutter_tools/test/general.shard/commands/assemble_test.dart
View file @
694d54cc
...
...
@@ -5,7 +5,6 @@
import
'package:args/command_runner.dart'
;
import
'package:flutter_tools/src/base/file_system.dart'
;
import
'package:flutter_tools/src/base/logger.dart'
;
import
'package:flutter_tools/src/build_info.dart'
;
import
'package:flutter_tools/src/build_system/build_system.dart'
;
import
'package:flutter_tools/src/cache.dart'
;
import
'package:flutter_tools/src/commands/assemble.dart'
;
...
...
@@ -39,11 +38,10 @@ void main() {
defines:
<
String
,
String
>{
'BuildMode'
:
'debug'
},
projectDir:
fs
.
currentDirectory
,
buildDir:
fs
.
directory
(
getBuildDirectory
())
,
buildDir:
fs
.
directory
(
fs
.
path
.
join
(
'.dart_tool'
,
'flutter_build'
)).
absolute
,
);
expect
(
bufferLogger
.
statusText
.
trim
(),
fs
.
path
.
relative
(
environment
.
buildDir
.
path
,
from:
fs
.
currentDirectory
.
path
));
expect
(
bufferLogger
.
statusText
.
trim
(),
environment
.
buildDir
.
path
);
}));
test
(
'Can describe a target'
,
()
=>
testbed
.
run
(()
async
{
...
...
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