forked from RedisInsight/RedisDesktopManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build_wininstaller.bat
23 lines (18 loc) · 1.1 KB
/
build_wininstaller.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@echo off
echo =======================================================================
echo Setup Compiler environment
echo =======================================================================
call "C:\\Program Files (x86)\\Microsoft Visual Studio 11.0\\VC\\vcvarsall.bat"
echo =======================================================================
echo Build project
echo =======================================================================
set msbuildemitsolution=1
msbuild RDM.sln /t:Rebuild /property:Configuration=Release
echo =======================================================================
echo Build installer
echo =======================================================================
"C:\\Program Files (x86)\\NSIS\\Unicode\\makensis.exe" /V1 /DVERSION=%1 ./build/windows/installer/installer.nsi
echo =======================================================================
echo Copy installer
echo =======================================================================
cp ./build/windows/installer/redis-desktop-manager-%1.exe .\\releases\\redis-desktop-manager-%1.exe