Beispiel #1
0
        void InstallNug(Directory libDir, NugDirectory nug)
        {
            var targetPackageDir = libDir.GetChildDirectory(nug.NugName);
            _fileSystem.CreateDirectory(targetPackageDir);

            foreach (var file in nug.GetFiles())
            {
                var fileWriteTo = targetPackageDir.GetChildFile(file.Name.GetName());
                _fileSystem.Copy(file.Name.GetPath(), fileWriteTo.Name.GetPath());
            }
        }
Beispiel #2
0
 public DotNetLibDirectory(NugDirectory nug)
 {
 }