Skip to content

Commit

Permalink
Tidy up
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhen committed Feb 23, 2024
1 parent 936e0d0 commit f2afd59
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions Nake.csx
Original file line number Diff line number Diff line change
Expand Up @@ -103,15 +103,6 @@ void Push(string package) => Exec("dotnet",
$@"nuget push {ReleasePackagesPath}/{package}.{Version}.nupkg " +
"-k %NuGetApiKey% -s https://nuget.org/ --skip-duplicate");

void Mirror(string source, string destination)
{
foreach (string dir in Directory.GetDirectories(source, "*", SearchOption.AllDirectories))
Directory.CreateDirectory(dir.Replace(source, destination));

foreach (string file in Directory.GetFiles(source, "*.*", SearchOption.AllDirectories))
File.Copy(file, file.Replace(source, destination), true);
}


/// Restores build-time packages and 3rd party dependencies used in demo projects
[Nake] void Restore(bool packagesOnly = false)
Expand Down

0 comments on commit f2afd59

Please sign in to comment.