Skip to content

Commit d28367a

Browse files
committed
Properly move grpc binaries into right folder
1 parent 0ce4f5c commit d28367a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

windows-compile-vs.ps1

+4-4
Original file line numberDiff line numberDiff line change
@@ -730,16 +730,16 @@ Remove-Item "$SOURCES_PATH\php-src\$ARCH\Release_TS\php-$PHP_DISPLAY_VER\glib-*.
730730
Remove-Item "$SOURCES_PATH\php-src\$ARCH\Release_TS\php-$PHP_DISPLAY_VER\gmodule-*.dll" >> $log_file 2>&1
731731
Remove-Item -Recurse "$SOURCES_PATH\php-src\$ARCH\Release_TS\php-$PHP_DISPLAY_VER\lib\enchant\" >> $log_file 2>&1
732732

733-
mkdir "$outpath\bin\grpc" >> $log_file 2>&1
734-
Move-Item "$LIB_BUILD_DIR\grpc\grpc_php_plugin.exe" "$outpath\bin\grpc\grpc_php_plugin.exe" >> $log_file 2>&1
735-
Move-Item "$LIB_BUILD_DIR\grpc\third_party\protobuf\protoc.exe" "$outpath\bin\grpc\protoc.exe" >> $log_file 2>&1
736-
737733
cd $outpath >> $log_file 2>&1
738734
Move-Item -Force "$SOURCES_PATH\php-src\$ARCH\$($OUT_PATH_REL)_TS\php-debug-pack-*.zip" $outpath
739735
Remove-Item -Recurse bin -ErrorAction Continue >> $log_file 2>&1
740736
mkdir bin >> $log_file 2>&1
741737
Move-Item "$SOURCES_PATH\php-src\$ARCH\$($OUT_PATH_REL)_TS\php-$PHP_DISPLAY_VER" bin\php
742738

739+
mkdir bin\grpc >> $log_file 2>&1
740+
Move-Item "$LIB_BUILD_DIR\grpc\grpc_php_plugin.exe" "bin\grpc\grpc_php_plugin.exe" >> $log_file 2>&1
741+
Move-Item "$LIB_BUILD_DIR\grpc\third_party\protobuf\protoc.exe" "bin\grpc\protoc.exe" >> $log_file 2>&1
742+
743743
$php_exe = "$outpath\bin\php\php.exe"
744744

745745
if (!(Test-Path $php_exe)) {

0 commit comments

Comments
 (0)