copy folders with "-r"

This commit is contained in:
Carl Beekhuizen 2021-08-30 10:34:59 +02:00
parent f4c4b8713f
commit 02bf159250
No known key found for this signature in database
GPG Key ID: 8F29E54F49E7AAB5

View File

@ -131,7 +131,7 @@ jobs:
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-linux-amd64;
export TEST_FOLDER_NAME=TMP_TEST_FOLDER
mkdir ${TEST_FOLDER_NAME}
cp ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME}
cp -r ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME}
cp test_binary_script.py ${TEST_FOLDER_NAME}
cd ${TEST_FOLDER_NAME}
python test_binary_script.py ./${BUILD_FILE_NAME};
@ -176,7 +176,7 @@ jobs:
copy ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME}
copy test_binary_script.py ${TEST_FOLDER_NAME}
cd ${TEST_FOLDER_NAME}
python test_binary_script.py .\${BUILD_FILE_NAME}
python test_binary_script.py ${BUILD_FILE_NAME}
- run:
name: Compress the file
command: |
@ -219,7 +219,7 @@ jobs:
export BUILD_FILE_NAME=eth2deposit-cli-${CIRCLE_SHORT_SHA1}-darwin-amd64;
export TEST_FOLDER_NAME=TMP_TEST_FOLDER
mkdir ${TEST_FOLDER_NAME}
cp ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME}
cp -r ${BUILD_FILE_NAME} ${TEST_FOLDER_NAME}
cp test_binary_script.py ${TEST_FOLDER_NAME}
cd ${TEST_FOLDER_NAME}
python3 test_binary_script.py ./${BUILD_FILE_NAME};