1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2026-05-22 10:15:16 +02:00

Move configuration definition to src/build/config/config.yaml.

Moving to YAML allows the configuration data to be read by C programs.

Also go back to using YAML::XS since it is the only implementation that has proper boolean support.
This commit is contained in:
David Steele
2021-03-08 16:01:05 -05:00
parent 1dbb3bf50b
commit fe4ba455ed
13 changed files with 2067 additions and 3288 deletions
+2 -1
View File
@@ -572,7 +572,8 @@ eval
# Auto-generate C files
#-----------------------------------------------------------------------------------------------------------------------
if (!$bSmart || grep(/^build\//, @stryModifiedList) || grep(/^doc\/xml\/reference\.xml/, @stryModifiedList))
if (!$bSmart || grep(/^build\//, @stryModifiedList) || grep(/^doc\/xml\/reference\.xml/, @stryModifiedList) ||
grep(/^src\/build\/config\/config\.yaml/, @stryModifiedList))
{
errorDefineLoad(${$oStorageBackRest->get("build/error.yaml")});