forked from NuGet/Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.cmd
22 lines (16 loc) · 923 Bytes
/
build.cmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
@echo off > nul
REM Build ClassLibrary
%WINDIR%\Microsoft.Net\Framework\v4.0.30319\msbuild SatellitePackageSample\ClassLibrary\ClassLibrary.csproj
SETLOCAL
SET nuget=SatellitePackageSample\.nuget\NuGet.exe
REM Build the NuGet packages from ClassLibrary
%nuget% pack SatellitePackageSample\ClassLibrary\ClassLibrary.nuspec
%nuget% pack SatellitePackageSample\ClassLibrary\ClassLibrary.ja-jp.nuspec
%nuget% pack SatellitePackageSample\ClassLibrary\ClassLibrary.ru-ru.nuspec
%nuget% pack SatellitePackageSample\ClassLibrary\ClassLibrary.cs.nuspec
%nuget% pack SatellitePackageSample\ClassLibrary\ClassLibrary.Localization.nuspec
REM Make those packages available through a new feed source called SatellitePackageSample
%nuget% sources add -Name SatellitePackageSample -Source "%CD%"
REM Build the ConsoleApp
%WINDIR%\Microsoft.Net\Framework\v4.0.30319\msbuild SatellitePackageSample\ConsoleApp\ConsoleApp.csproj
ENDLOCAL