Skip to content

Commit

Permalink
SourceBackend: don't delete old files in bundle directory
Browse files Browse the repository at this point in the history
There might be some files the compiler don't know about (copied via UXL), and
this is causing the compiler to delete some files and output the same files
again and again, every time we build...

The user can clean before building to be sure to remove old files.
  • Loading branch information
mortend committed May 13, 2019
1 parent ad0ddb8 commit 4657d2a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/compiler/Uno.Compiler.API/Backends/SourceBackend.cs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ protected virtual void ExportBundle(string directory)

foreach (var file in Data.Extensions.BundleFiles)
Disk.CopyFile(file.SourcePath, Path.Combine(directory, file.TargetName));

Disk.DeleteOutdatedFiles(directory);
}

protected virtual void ExportNamespace(Namespace ns)
Expand Down

0 comments on commit 4657d2a

Please sign in to comment.