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
617c57bc
Unverified
Commit
617c57bc
authored
Dec 15, 2020
by
Jenn Magder
Committed by
GitHub
Dec 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Flutter clean Flutter.podspec (#72306)
parent
30718a13
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
clean.dart
packages/flutter_tools/lib/src/commands/clean.dart
+1
-0
project.dart
packages/flutter_tools/lib/src/project.dart
+5
-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 @
617c57bc
...
@@ -52,6 +52,7 @@ class CleanCommand extends FlutterCommand {
...
@@ -52,6 +52,7 @@ class CleanCommand extends FlutterCommand {
deleteFile
(
flutterProject
.
ios
.
generatedEnvironmentVariableExportScript
);
deleteFile
(
flutterProject
.
ios
.
generatedEnvironmentVariableExportScript
);
deleteFile
(
flutterProject
.
ios
.
deprecatedCompiledDartFramework
);
deleteFile
(
flutterProject
.
ios
.
deprecatedCompiledDartFramework
);
deleteFile
(
flutterProject
.
ios
.
deprecatedProjectFlutterFramework
);
deleteFile
(
flutterProject
.
ios
.
deprecatedProjectFlutterFramework
);
deleteFile
(
flutterProject
.
ios
.
flutterPodspec
);
deleteFile
(
flutterProject
.
linux
.
ephemeralDirectory
);
deleteFile
(
flutterProject
.
linux
.
ephemeralDirectory
);
deleteFile
(
flutterProject
.
macos
.
ephemeralDirectory
);
deleteFile
(
flutterProject
.
macos
.
ephemeralDirectory
);
...
...
packages/flutter_tools/lib/src/project.dart
View file @
617c57bc
...
@@ -692,6 +692,11 @@ class IosProject extends FlutterProjectPlatform implements XcodeBasedProject {
...
@@ -692,6 +692,11 @@ class IosProject extends FlutterProjectPlatform implements XcodeBasedProject {
.
childDirectory
(
'Flutter'
)
.
childDirectory
(
'Flutter'
)
.
childDirectory
(
'Flutter.framework'
);
.
childDirectory
(
'Flutter.framework'
);
/// Used only for "flutter clean" to remove old references.
File
get
flutterPodspec
=>
_flutterLibRoot
.
childDirectory
(
'Flutter'
)
.
childFile
(
'Flutter.podspec'
);
Directory
get
pluginRegistrantHost
{
Directory
get
pluginRegistrantHost
{
return
isModule
return
isModule
?
_flutterLibRoot
?
_flutterLibRoot
...
...
packages/flutter_tools/test/commands.shard/hermetic/clean_test.dart
View file @
617c57bc
...
@@ -50,6 +50,7 @@ void main() {
...
@@ -50,6 +50,7 @@ void main() {
projectUnderTest
.
ios
.
generatedEnvironmentVariableExportScript
.
createSync
(
recursive:
true
);
projectUnderTest
.
ios
.
generatedEnvironmentVariableExportScript
.
createSync
(
recursive:
true
);
projectUnderTest
.
ios
.
deprecatedCompiledDartFramework
.
createSync
(
recursive:
true
);
projectUnderTest
.
ios
.
deprecatedCompiledDartFramework
.
createSync
(
recursive:
true
);
projectUnderTest
.
ios
.
deprecatedProjectFlutterFramework
.
createSync
(
recursive:
true
);
projectUnderTest
.
ios
.
deprecatedProjectFlutterFramework
.
createSync
(
recursive:
true
);
projectUnderTest
.
ios
.
flutterPodspec
.
createSync
(
recursive:
true
);
projectUnderTest
.
linux
.
ephemeralDirectory
.
createSync
(
recursive:
true
);
projectUnderTest
.
linux
.
ephemeralDirectory
.
createSync
(
recursive:
true
);
projectUnderTest
.
macos
.
ephemeralDirectory
.
createSync
(
recursive:
true
);
projectUnderTest
.
macos
.
ephemeralDirectory
.
createSync
(
recursive:
true
);
...
@@ -71,6 +72,7 @@ void main() {
...
@@ -71,6 +72,7 @@ void main() {
expect
(
projectUnderTest
.
ios
.
generatedEnvironmentVariableExportScript
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
ios
.
generatedEnvironmentVariableExportScript
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
ios
.
deprecatedCompiledDartFramework
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
ios
.
deprecatedCompiledDartFramework
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
ios
.
deprecatedProjectFlutterFramework
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
ios
.
deprecatedProjectFlutterFramework
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
ios
.
flutterPodspec
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
linux
.
ephemeralDirectory
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
linux
.
ephemeralDirectory
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
macos
.
ephemeralDirectory
.
existsSync
(),
isFalse
);
expect
(
projectUnderTest
.
macos
.
ephemeralDirectory
.
existsSync
(),
isFalse
);
...
...
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