Skip to content

Commit

Permalink
Fix missing meta file of nuget package directory
Browse files Browse the repository at this point in the history
  • Loading branch information
veblush committed May 2, 2016
1 parent 01269fb commit 60a2d54
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/UniGet/NugetPackage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ public static string GetPackageCacheRoot()
var target = $"Assets/UnityPackages/{packageId}";
var targetDir = Path.Combine(outputDir, target);
Directory.CreateDirectory(targetDir);
File.WriteAllBytes(targetDir + ".meta",
Packer.GenerateMeta(".", target).Item2);

Packer.GenerateMeta(".", target);

foreach (var file in Directory.GetFiles(libPath, "*.dll"))
{
Expand Down

0 comments on commit 60a2d54

Please sign in to comment.