You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2026-05-22 10:15:16 +02:00
Unify code builder binaries into a single binary.
Creating new binaries was convenient at first but has now become a maintenance issue. Solve this by combining that into a single binary that takes an additional parameter to indicate which code should be built. Also clean up path handling to make it easier to build code from the command line.
This commit is contained in:
+4
-4
@@ -536,10 +536,10 @@ eval
|
||||
|
||||
# Build code
|
||||
executeTest(
|
||||
"ninja -C ${strBuildPath}" . ($bMinGen ? '' : ' src/build-config src/build-error') . ' src/build-postgres' .
|
||||
($bMinGen ? '' : " && ${strBuildPath}/src/build-config ${strBackRestBase}/src") .
|
||||
($bMinGen ? '' : " && ${strBuildPath}/src/build-error ${strBackRestBase}/src") .
|
||||
" && cd $strRepoCachePath/src && ${strBuildPath}/src/build-postgres");
|
||||
"ninja -C ${strBuildPath} src/build-code" .
|
||||
($bMinGen ? '' : " && ${strBuildPath}/src/build-code config ${strBackRestBase}/src") .
|
||||
($bMinGen ? '' : " && ${strBuildPath}/src/build-code error ${strBackRestBase}/src") .
|
||||
" && cd $strRepoCachePath/src && ${strBuildPath}/src/build-code postgres");
|
||||
|
||||
if ($bGenOnly)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user