-
-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathRelease.bat
More file actions
19 lines (17 loc) · 722 Bytes
/
Release.bat
File metadata and controls
19 lines (17 loc) · 722 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
REM Release Script for Code Project
@echo off
SET SRC=D:\CKMAI_Documents\Programming\ClassLibraryNET\MSChartExtension
SET DEST=D:\CKMAI_Documents\SWRelease\MSChartExtension\
SET TARGET=%DEST%MSChartExtension
SET BINTARGET=%DEST%MSChartExtensionDemoBin
SET ZIP="C:\Program Files\7-Zip\7z.exe"
SET ZIPFile=%DEST%MSChartExtensionSource.zip
SET ZIPBin=%DEST%MSChartExtensionDemo.zip
echo Copying Source Code
del %TARGET% /s /q
rd %TARGET% /s /q
robocopy %SRC% %TARGET% /MIR /XD .hg .git Doc obj bin .vs /XF .hg* .git* *.bat *.userprefs *.pdn
%ZIP% a -tzip %ZIPFILE% %TARGET%
echo Copying Binary Files
robocopy %SRC%\MSChartExtensionDemo\bin\Debug %BINTARGET% /MIR /XF *.pdb *.mdb *.vshost*
%ZIP% a -tzip %ZIPBin% %BINTARGET%