-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.cmd
50 lines (49 loc) · 1.74 KB
/
build.cmd
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
48
49
50
@call "%VS110COMNTOOLS%\VsDevCmd.bat"
@rmdir /S /Q .\build\*.*
msbuild .\Maacro\Maacro.csproj /t:Clean
msbuild .\Maacro\Maacro.csproj /t:Build /p:SolutionDir=%CD% /p:Platform=x64 /p:OutDir=..\build\x64\ /p:Configuration=Release
msbuild .\Maacro\Maacro.csproj /t:Build /p:SolutionDir=%CD% /p:Platform=x86 /p:OutDir=..\build\x86\ /p:Configuration=Release
@del /S /Q .\build\*.pdb
@del /S /Q .\build\*.xml
@del /S /Q .\build\*.zip
@rmdir /S /Q .\build\x86\de\
@rmdir /S /Q .\build\x86\es\
@rmdir /S /Q .\build\x86\fr\
@rmdir /S /Q .\build\x86\it\
@rmdir /S /Q .\build\x86\ja\
@rmdir /S /Q .\build\x86\ko\
@rmdir /S /Q .\build\x86\zh-Hans\
@rmdir /S /Q .\build\x86\zh-Hant\
@rmdir /S /Q .\build\x86\de\
@rmdir /S /Q .\build\x86\es\
@rmdir /S /Q .\build\x86\fr\
@rmdir /S /Q .\build\x86\it\
@rmdir /S /Q .\build\x86\ja\
@rmdir /S /Q .\build\x86\ko\
@rmdir /S /Q .\build\x86\zh-Hans\
@rmdir /S /Q .\build\x86\zh-Hant\
@rmdir /S /Q .\build\x64\de\
@rmdir /S /Q .\build\x64\es\
@rmdir /S /Q .\build\x64\fr\
@rmdir /S /Q .\build\x64\it\
@rmdir /S /Q .\build\x64\ja\
@rmdir /S /Q .\build\x64\ko\
@rmdir /S /Q .\build\x64\zh-Hans\
@rmdir /S /Q .\build\x64\zh-Hant\
@rmdir /S /Q .\build\x64\de\
@rmdir /S /Q .\build\x64\es\
@rmdir /S /Q .\build\x64\fr\
@rmdir /S /Q .\build\x64\it\
@rmdir /S /Q .\build\x64\ja\
@rmdir /S /Q .\build\x64\ko\
@rmdir /S /Q .\build\x64\zh-Hans\
@rmdir /S /Q .\build\x64\zh-Hant\
@copy /Y .\build\x86\en\*.dll .\build\x86\*.dll
@copy /Y .\build\x64\en\*.dll .\build\x64\*.dll
@rmdir /S /Q .\build\x86\en\
@rmdir /S /Q .\build\x64\en\
@copy /Y .\$build.readme.txt .\build\x86\README.txt
@copy /Y .\$build.readme.txt .\build\x64\README.txt
.\Tools\7za a .\Build\Maacro-1.0.3-x86.zip -r .\build\x86\*.*
.\Tools\7za a .\Build\Maacro-1.0.3-x64.zip -r .\build\x64\*.*
pause