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
66175760
Unverified
Commit
66175760
authored
Jan 06, 2021
by
Jonah Williams
Committed by
GitHub
Jan 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[flutter_tools] delete .packages during flutter clean (#73364)
parent
c2ce0e68
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
clean.dart
packages/flutter_tools/lib/src/commands/clean.dart
+1
-0
clean_test.dart
...lutter_tools/test/commands.shard/hermetic/clean_test.dart
+2
-0
No files found.
packages/flutter_tools/lib/src/commands/clean.dart
View file @
66175760
...
...
@@ -44,6 +44,7 @@ class CleanCommand extends FlutterCommand {
deleteFile
(
buildDir
);
deleteFile
(
flutterProject
.
dartTool
);
deleteFile
(
flutterProject
.
packagesFile
);
deleteFile
(
flutterProject
.
android
.
ephemeralDirectory
);
...
...
packages/flutter_tools/test/commands.shard/hermetic/clean_test.dart
View file @
66175760
...
...
@@ -43,6 +43,7 @@ void main() {
projectUnderTest
.
macos
.
xcodeWorkspace
.
createSync
(
recursive:
true
);
projectUnderTest
.
dartTool
.
createSync
(
recursive:
true
);
projectUnderTest
.
packagesFile
.
createSync
(
recursive:
true
);
projectUnderTest
.
android
.
ephemeralDirectory
.
createSync
(
recursive:
true
);
projectUnderTest
.
ios
.
ephemeralDirectory
.
createSync
(
recursive:
true
);
...
...
@@ -80,6 +81,7 @@ void main() {
expect
(
projectUnderTest
.
flutterPluginsFile
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
flutterPluginsDependenciesFile
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
packagesFile
.
existsSync
(),
isFalse
);
verify
(
mockXcodeProjectInterpreter
.
cleanWorkspace
(
any
,
'Runner'
,
verbose:
false
)).
called
(
2
);
},
overrides:
<
Type
,
Generator
>{
...
...
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