forked from abstractspoon/ToDoList_8.1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CopyResToBuildFolders.bat
28 lines (20 loc) · 1.04 KB
/
CopyResToBuildFolders.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
ECHO OFF
pushd %~dp0
set REPO=%CD%
ECHO REPO=%REPO%
set RESREPO=%REPO%\..\ToDoList_Resources
ECHO RESREPO=%RESREPO%
set TESTREPO=%REPO%\..\ToDoList_Test
ECHO TESTREPO=%TESTREPO%
REM - Copy to Core
xcopy %RESREPO%\*.* %REPO%\Core\ToDoList\Unicode_Debug\Resources\ /E /EXCLUDE:%REPO%\CopyResToBuildFolders_Exclude.txt /Y
xcopy %RESREPO%\*.* %REPO%\Core\ToDoList\Unicode_Release\Resources\ /E /EXCLUDE:%REPO%\CopyResToBuildFolders_Exclude.txt /Y
xcopy %TESTREPO%\Tasklists\*.* %REPO%\Core\ToDoList\Unicode_Debug\Resources\Examples\ /Y
xcopy %TESTREPO%\Tasklists\*.* %REPO%\Core\ToDoList\Unicode_Release\Resources\Examples\ /Y
REM - Copy Resources to Plugins
xcopy %RESREPO%\*.* %REPO%\Plugins\Debug\Resources\ /E /EXCLUDE:%REPO%\CopyResToBuildFolders_Exclude.txt /Y
xcopy %RESREPO%\*.* %REPO%\Plugins\Release\Resources\ /E /EXCLUDE:%REPO%\CopyResToBuildFolders_Exclude.txt /Y
xcopy %TESTREPO%\Tasklists\*.* %REPO%\Plugins\Debug\Resources\Examples\ /Y
xcopy %TESTREPO%\Tasklists\*.* %REPO%\Plugins\Release\Resources\Examples\ /Y
popd
pause