mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 11:46:30 +00:00
25 lines
538 B
Batchfile
25 lines
538 B
Batchfile
echo Make dirs, copy init dlls
|
|
pushd %~dp0..
|
|
|
|
if exist dist-dlls rmdir dist-dlls /s /q
|
|
mkdir dist-dlls
|
|
if exist dist-azaion rmdir dist-azaion /s /q
|
|
mkdir dist-azaion
|
|
|
|
echo Copying shared libs
|
|
robocopy "C:\\share" "dist-dlls" "*"
|
|
set RC=%ERRORLEVEL%
|
|
|
|
if %RC% EQU 1 (
|
|
echo All files copied successfully.
|
|
popd
|
|
exit /b 1
|
|
) else if %RC% LSS 8 (
|
|
echo Robocopy returned %RC% (acceptable non-error code), but not perfect copy.
|
|
popd
|
|
exit /b 0
|
|
) else (
|
|
echo Robocopy failed with code %RC%.
|
|
popd
|
|
exit /b %RC%
|
|
) |