mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-18 04:58:51 +02:00
Detect changes in reference.xml for code auto-generation.
Changes to reference.xml can affect the command-line documentation built into the binary so changes must trigger an auto-generated code build during smart builds.
This commit is contained in:
parent
0ba8062f5f
commit
181fa1fc8b
@ -507,7 +507,7 @@ eval
|
|||||||
|
|
||||||
# Auto-generate C files
|
# Auto-generate C files
|
||||||
#-----------------------------------------------------------------------------------------------------------------------
|
#-----------------------------------------------------------------------------------------------------------------------
|
||||||
if (!$bSmart || grep(/^build\//, @stryModifiedList))
|
if (!$bSmart || grep(/^build\//, @stryModifiedList) || grep(/^doc\/xml\/reference\.xml/, @stryModifiedList))
|
||||||
{
|
{
|
||||||
errorDefineLoad(${$oStorageBackRest->get("build/error.yaml")});
|
errorDefineLoad(${$oStorageBackRest->get("build/error.yaml")});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user