Overview
| Comment: | More changes to the target directory handling in the deployment tool. |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA1: |
d39ec13bf60a2bdd76d54ee660d9edde |
| User & Date: | mistachkin on 2016-09-14 06:40:08 |
| Other Links: | manifest | tags |
Context
|
2016-09-14
| ||
| 21:41 | Add 'apply' compatibility shim for native Tcl 8.4. Enhance and update comments. check-in: 2bfdcf67cf user: mistachkin tags: trunk | |
| 06:40 | More changes to the target directory handling in the deployment tool. check-in: d39ec13bf6 user: mistachkin tags: trunk | |
| 06:37 | Make the Package Repository Client directory name customizable when using the deployment tool. check-in: 29fe5d2274 user: mistachkin tags: trunk | |
Changes
Modified tools/deploy.bat from [6e1c080255] to [cdeab3d710].
| ︙ | ︙ | |||
65 66 67 68 69 70 71 72 73 74 75 76 77 78 | IF NOT DEFINED DIRNAME ( SET DIRNAME=pkg_r_an_d ) %_VECHO% DirName = '%DIRNAME%' REM **************************************************************************** REM ************************* Check Source Directories ************************* REM **************************************************************************** IF NOT EXIST "%SOURCE%" ( ECHO Cannot copy from "%SOURCE%", it does not exist. GOTO errors | > > > > > | 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 | IF NOT DEFINED DIRNAME ( SET DIRNAME=pkg_r_an_d ) %_VECHO% DirName = '%DIRNAME%' SET TARGETDIR=%TARGET%\%DIRNAME% SET TARGETDIR=%TARGETDIR:\\=\% %_VECHO% TargetDir = '%TARGETDIR%' REM **************************************************************************** REM ************************* Check Source Directories ************************* REM **************************************************************************** IF NOT EXIST "%SOURCE%" ( ECHO Cannot copy from "%SOURCE%", it does not exist. GOTO errors |
| ︙ | ︙ | |||
110 111 112 113 114 115 116 | REM **************************************************************************** CALL :fn_ResetErrorLevel REM **************************************************************************** FOR %%F IN (%PKGFILES%) DO ( | | | | | | 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 |
REM ****************************************************************************
CALL :fn_ResetErrorLevel
REM ****************************************************************************
FOR %%F IN (%PKGFILES%) DO (
%__ECHO% XCOPY "%SOURCE%\client\1.0\%%F" "%TARGETDIR%\" %FFLAGS% %DFLAGS%
IF ERRORLEVEL 1 (
ECHO Failed to copy "%SOURCE%\client\1.0\%%F" to "%TARGETDIR%\".
GOTO errors
)
)
REM ****************************************************************************
FOR %%F IN (%EAGLEFILES%) DO (
%__ECHO% XCOPY "%SOURCE%\externals\Eagle\lib\Eagle1.0\%%F" "%TARGETDIR%\Eagle1.0\" %FFLAGS% %DFLAGS%
IF ERRORLEVEL 1 (
ECHO Failed to copy "%SOURCE%\externals\Eagle\lib\Eagle1.0\%%F" to "%TARGETDIR%\Eagle1.0\".
GOTO errors
)
)
REM ****************************************************************************
GOTO no_errors
|
| ︙ | ︙ |