4coder-non-source/test_data/lots_of_files/package.bat

27 lines
553 B
Batchfile
Raw Normal View History

2023-09-30 01:17:40 +00:00
@echo off
pushd ..\
set DEST=packaged
if not exist %DEST% (mkdir %DEST%)
if not exist %DEST%\data (mkdir %DEST%\data)
copy build\CipherDrive.exe packaged\CipherDrive.exe
copy build\*.dll packaged\*.dll
copy build\backup.bat packaged\backup.bat
del packaged\*temp*
del /s /q packaged\data\*
copy code\data\* packaged\data\*
set DEST=C:\Users\Allen\ownCloud\CipherDriveDevBuild
if not exist %DEST% (mkdir %DEST%)
if not exist %DEST%\data (mkdir %DEST%\data)
copy packaged\* %DEST%\*
del /s /q %DEST%\data\*
copy packaged\data\* %DEST%\data\*
popd