Created
August 23, 2016 16:58
-
-
Save Segment0895/c7b3036538efe0a6b2d6fc7737b647be to your computer and use it in GitHub Desktop.
generate Nupkg from a folder full of DLL, one DLL per Nupkg
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
:lib | |
mkdir BUILD | |
cd BUILD | |
mkdir lib | |
cd .. | |
cd INCOMING_DLL | |
for /r %%I in (.dll) do ( | |
echo LOOPing1 | |
cd ..\BUILD | |
del lib\ /Q /S | |
copy %%I lib | |
echo SPECing | |
..\nuget spec %%~nI -f | |
echo PACKing | |
..\nuget pack %%~nI.nuspec | |
del lib\* /Q /S | |
) | |
cd .. | |
:repo | |
echo COPYing to out | |
nuget init BUILD NUGET |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment