-
Notifications
You must be signed in to change notification settings - Fork 2
/
CopyResToBuildFolders.bat
34 lines (24 loc) · 1.45 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
29
30
31
32
33
34
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\*.* /E %REPO%\Core\ToDoList\Unicode_Debug\Resources\Examples\ /Y
xcopy %TESTREPO%\Tasklists\*.* /E %REPO%\Core\ToDoList\Unicode_Release\Resources\Examples\ /Y
xcopy "%TESTREPO%\Sample Languages\*.*" /E %REPO%\Core\ToDoList\Unicode_Debug\Resources\Examples\ /Y
xcopy "%TESTREPO%\Sample Languages\*.*" /E %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\*.* /E %REPO%\Plugins\Debug\Resources\Examples\ /Y
xcopy %TESTREPO%\Tasklists\*.* /E %REPO%\Plugins\Release\Resources\Examples\ /Y
xcopy "%TESTREPO%\Sample Languages\*.*" /E %REPO%\Plugins\Debug\Resources\Examples\ /Y
xcopy "%TESTREPO%\Sample Languages\*.*" /E %REPO%\Plugins\Release\Resources\Examples\ /Y
popd
pause