From 4ca87948653b4e2ebff4ace86a9a759928308a65 Mon Sep 17 00:00:00 2001 From: hallvictoria Date: Thu, 25 Jul 2024 18:25:31 -0500 Subject: [PATCH] copy entire protos folder to /deps --- pack/scripts/mac_arm64_deps.sh | 3 +-- pack/scripts/nix_deps.sh | 3 +-- pack/scripts/win_deps.ps1 | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pack/scripts/mac_arm64_deps.sh b/pack/scripts/mac_arm64_deps.sh index e71ad197..2d70bafa 100644 --- a/pack/scripts/mac_arm64_deps.sh +++ b/pack/scripts/mac_arm64_deps.sh @@ -13,5 +13,4 @@ python -m invoke -c test_setup build-protos cd .. cp .artifactignore "$BUILD_SOURCESDIRECTORY/deps" -cp azure_functions_worker/protos/FunctionRpc_pb2_grpc.py "$BUILD_SOURCESDIRECTORY/deps/azure_functions_worker/protos" -cp azure_functions_worker/protos/FunctionRpc_pb2.py "$BUILD_SOURCESDIRECTORY/deps/azure_functions_worker/protos" \ No newline at end of file +cp -r azure_functions_worker/protos "$BUILD_SOURCESDIRECTORY/deps/azure_functions_worker" \ No newline at end of file diff --git a/pack/scripts/nix_deps.sh b/pack/scripts/nix_deps.sh index e71ad197..2d70bafa 100644 --- a/pack/scripts/nix_deps.sh +++ b/pack/scripts/nix_deps.sh @@ -13,5 +13,4 @@ python -m invoke -c test_setup build-protos cd .. cp .artifactignore "$BUILD_SOURCESDIRECTORY/deps" -cp azure_functions_worker/protos/FunctionRpc_pb2_grpc.py "$BUILD_SOURCESDIRECTORY/deps/azure_functions_worker/protos" -cp azure_functions_worker/protos/FunctionRpc_pb2.py "$BUILD_SOURCESDIRECTORY/deps/azure_functions_worker/protos" \ No newline at end of file +cp -r azure_functions_worker/protos "$BUILD_SOURCESDIRECTORY/deps/azure_functions_worker" \ No newline at end of file diff --git a/pack/scripts/win_deps.ps1 b/pack/scripts/win_deps.ps1 index ec4f215a..a7be372e 100644 --- a/pack/scripts/win_deps.ps1 +++ b/pack/scripts/win_deps.ps1 @@ -15,5 +15,4 @@ python -m invoke -c test_setup build-protos cd .. Copy-Item -Path ".artifactignore" -Destination $depsPath.ToString() -Copy-Item -Path "azure_functions_worker/protos/FunctionRpc_pb2_grpc.py" -Destination $protosPath.ToString() -Copy-Item -Path "azure_functions_worker/protos/FunctionRpc_pb2.py" -Destination $protosPath.ToString() +Copy-Item -Path "azure_functions_worker/protos/*" -Destination $protosPath.ToString() -Recurse -Force