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
a92110a2
Unverified
Commit
a92110a2
authored
Jan 20, 2018
by
Alexander Aprelev
Committed by
GitHub
Jan 20, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up build directory before copying freshly produced build artifacts over. (#14081)
parent
a29d723c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
mac.dart
packages/flutter_tools/lib/src/ios/mac.dart
+5
-0
No files found.
packages/flutter_tools/lib/src/ios/mac.dart
View file @
a92110a2
...
...
@@ -356,6 +356,11 @@ Future<XcodeBuildResult> buildXcodeProject({
// Copy app folder to a place where other tools can find it without knowing
// the BuildInfo.
outputDir
=
actualOutputDir
.
replaceFirst
(
'/
$configuration
-'
,
'/'
);
if
(
fs
.
isDirectorySync
(
outputDir
))
{
// Previous output directory might have incompatible artifacts
// (for example, kernel binary files produced from previous `--preview-dart-2` run).
fs
.
directory
(
outputDir
).
deleteSync
(
recursive:
true
);
}
copyDirectorySync
(
fs
.
directory
(
actualOutputDir
),
fs
.
directory
(
outputDir
));
}
return
new
XcodeBuildResult
(
success:
true
,
output:
outputDir
);
...
...
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