This repository has been archived by the owner on Mar 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
/
build.bat
47 lines (37 loc) · 1.43 KB
/
build.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
@echo off
@echo.
@echo *******************************************
@echo * BUILD STARTING *
@echo *******************************************
@echo.
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsMSBuildCmd.bat"
msbuild /verbosity:quiet /fl /t:Rebuild /p:Configuration=Release,OutputPath=bin\Release\NuGet\ /property:GenerateLibraryLayout=false /p:NoWarn=0618 src\Comet.csproj
@echo.
@echo *******************************************
@echo * COPYING BINARIES *
@echo *******************************************
@echo.
pushd Tools\nuget
mkdir .\Comet\lib\uap10.0
mkdir .\Comet\lib\uap10.0\Comet
mkdir .\Comet\lib\uap10.0\Comet\Themes
mkdir .\Comet\lib\uap10.0\Comet\Properties
copy ..\..\src\bin\release\NuGet\Comet.dll .\Comet\lib\uap10.0\
copy ..\..\src\bin\release\NuGet\Comet.pri .\Comet\lib\uap10.0\
copy ..\..\src\bin\release\NuGet\Comet.xr.xml .\Comet\lib\uap10.0\Comet\
copy ..\..\src\bin\release\NuGet\themes\generic.xbf .\Comet\lib\uap10.0\Comet\Themes
copy ..\..\src\Properties\Comet.rd.xml .\Comet\lib\uap10.0\Comet\Properties
@echo.
@echo *******************************************
@echo * BUILDING NUGET *
@echo *******************************************
@echo.
mkdir .\package
nuget pack Comet\Comet.nuspec -o .\package
@echo.
@echo *******************************************
@echo * DONE *
@echo *******************************************
@echo.
explorer .\package
popd