Skip to content

Commit

Permalink
Fixed the _MergeFiles task
Browse files Browse the repository at this point in the history
  • Loading branch information
mattleibow committed Mar 4, 2018
1 parent 2f0e3c8 commit c9b01b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ private void OnPainting(object sender, SKPaintSurfaceEventArgs e)
var meteocons = "We love the {{mc-sun color=f9d71c}} and some {{mc-cloud-double-o}} s.";
var simple = "We all {{icon-heart color=ff0000}} a {{icon-present}}!";
var typicons = "SkiaSharp runs on {{typcn-device-desktop}}, {{typcn-device-laptop}}, {{typcn-device-phone}} and {{typcn-device-tablet}} devices!";
var weather = "An {{wi-solar-eclipse}} is when the {{wi-day-sunny color=f9d71c}} is hidden.";
var weather = "An {{wi-solar-eclipse}} is when the {{wi-day-sunny color=f9d71c}} is hidden (there might be {{wi-wind}}).";

using (var textPaint = new SKPaint())
{
Expand Down
4 changes: 3 additions & 1 deletion SkiaSharp.Extended.Iconify/source/IconifyDownloader.targets
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
Condition=" '@(_RemoteFontFile)' != '' and !Exists('%(_RemoteFontFile.TargetPath)') " />

<!-- combine all stylesheets into one for the generator -->
<_MergeFiles Files="%(_RemoteStyleSheet.TargetPath)"
<_MergeFiles Files="@(_RemoteStyleSheet -> '%(TargetPath)')"
Destination="$(GeneratedStylesheetPath)"
Reset="true"
Condition=" '@(_RemoteStyleSheet)' != '' " />
Expand Down Expand Up @@ -238,6 +238,7 @@
else if (Reset)
File.Delete(Destination);
Log.LogMessage("Creating file '{0}'...", Destination);
using (var dest = File.OpenWrite(Destination))
{
foreach (var file in Files)
Expand All @@ -249,6 +250,7 @@
}
}
}
Log.LogMessage("Merge for '{0}' complete...", Destination);
return true;
]]>
Expand Down

0 comments on commit c9b01b5

Please sign in to comment.