Skip to content

Commit

Permalink
Added scripts to copy wxWidgets dll into application dir and deploy a…
Browse files Browse the repository at this point in the history
…pplication
  • Loading branch information
metamaker committed Jun 19, 2016
1 parent 22e930b commit ee5144c
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/bin/Debug/install-contrib.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@echo off
mkdir ru
copy "E:\Projects\Workroom\trachecker\languages\ru" ru
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxbase310ud_vc_custom.dll"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxbase310ud_vc_custom.pdb"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxmsw310ud_core_vc_custom.dll"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxmsw310ud_core_vc_custom.pdb"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxmsw310ud_stc_vc_custom.dll"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxmsw310ud_stc_vc_custom.pdb"
9 changes: 9 additions & 0 deletions scripts/bin/Release/install-contrib.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
@echo off
mkdir ru
copy "E:\Projects\Workroom\trachecker\languages\ru" ru
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxbase310u_vc_custom.dll"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxbase310u_vc_custom.pdb"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxmsw310u_core_vc_custom.dll"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxmsw310u_core_vc_custom.pdb"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxmsw310u_stc_vc_custom.dll"
copy "E:\Projects\Libs\Trunk\C++\wxWidgets\lib\vc_dll\wxmsw310u_stc_vc_custom.pdb"
15 changes: 15 additions & 0 deletions scripts/bin/Release/pack-release.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

@echo off

REM Format today's date to DAY-MONTH-YEAR format
SET year=%date:~-4%
SET month=%date:~3,2%
IF "%month:~0,1%" == " " SET month=0%month:~1,1%
SET day=%date:~0,2%
IF "%day:~0,1%" == " " SET day=0%day:~1,1%

REM Pack today's build to archive
SET BUILD_DATE=%day%-%month%-%year%
SET ARCHIVE_NAME=TRAChecker_%BUILD_DATE%.zip

"C:\Program Files\7-Zip\7z.exe" a %ARCHIVE_NAME% TRAChecker.exe wxbase310u_vc_custom.dll wxmsw310u_core_vc_custom.dll wxmsw310u_stc_vc_custom.dll ru/application.po ru/application.mo

0 comments on commit ee5144c

Please sign in to comment.