-
Notifications
You must be signed in to change notification settings - Fork 10
/
makerelease.bat
21 lines (20 loc) · 1.12 KB
/
makerelease.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
: this script requires 7-zip 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 helper files into x64 bin dir
xcopy .\translation .\JsonToolsNppPlugin\bin\Release-x64\translation\ /s /y
xcopy .\testfiles .\JsonToolsNppPlugin\bin\Release-x64\testfiles\ /s /y
copy ".\DSON UDL.xml" ".\JsonToolsNppPlugin\bin\Release-x64\DSON UDL.xml" /y
: copy helper files into x86 bin dir
xcopy .\translation .\JsonToolsNppPlugin\bin\Release\translation\ /s /y
xcopy .\testfiles .\JsonToolsNppPlugin\bin\Release\testfiles\ /s /y
copy ".\DSON UDL.xml" ".\JsonToolsNppPlugin\bin\Release\DSON UDL.xml" /y
: zip testfiles and dlls to release zipfiles
: also copy directories to Downloads for easy access later
cd JsonToolsNppPlugin\bin\Release-x64
xcopy . "%userprofile%\Downloads\JsonTools NEWEST x64\" /s /y
7z -r a ..\..\Release_x64.zip JsonTools.dll testfiles translation "DSON UDL.xml"
cd ..\Release
xcopy . "%userprofile%\Downloads\JsonTools NEWEST x86\" /s /y
7z -r a ..\..\Release_x86.zip JsonTools.dll testfiles translation "DSON UDL.xml"
cd ..\..\..