-
Notifications
You must be signed in to change notification settings - Fork 5
/
makerelease.bat
19 lines (18 loc) · 1 KB
/
makerelease.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
: this script requires 7-zip (https://www.7-zip.org/) to be installed on your computer
: sync testfiles with ones in repo
: ONLY EXECUTE THIS BATCH FILE FROM THE SAME DIRECTORY WHERE IT LIVES IN THE REPO!!!!
: copy translations and testfiles into 64-bit bin
xcopy .\testfiles .\NppCSharpPluginPack\bin\Release-x64\testfiles\ /s /y
xcopy .\translation .\NppCSharpPluginPack\bin\Release-x64\translation\ /s /y
: copy translations and testfiles into 32-bit bin
xcopy .\testfiles .\NppCSharpPluginPack\bin\Release\testfiles\ /s /y
xcopy .\translation .\NppCSharpPluginPack\bin\Release\translation\ /s /y
: zip testfiles and dlls to release zipfiles
: also copy directories to Downloads for easy access later
cd NppCSharpPluginPack\bin\Release-x64
xcopy . "%userprofile%\Downloads\NppCSharpPluginPack NEWEST x64\" /s /y
7z -r a ..\..\Release_x64.zip *.dll testfiles translation
cd ..\Release
xcopy . "%userprofile%\Downloads\NppCSharpPluginPack NEWEST x86\" /s /y
7z -r a ..\..\Release_x86.zip *.dll testfiles translation
cd ..\..\..