summaryrefslogtreecommitdiff
path: root/Makefile.PL
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-05-25 09:43:38 +0300
committerSergey Poznyakoff <gray@gnu.org>2019-05-25 19:58:35 +0300
commit585a5a925342c357d46fbad273bfafc03bc33dcd (patch)
tree0aa81c8e85543ebaa25ef88292bb318ac4294e04 /Makefile.PL
parentedfeb103b85e10aa9e6825d3b92c5888fb4dea94 (diff)
downloadconfig-haproxy-585a5a925342c357d46fbad273bfafc03bc33dcd.tar.gz
config-haproxy-585a5a925342c357d46fbad273bfafc03bc33dcd.tar.bz2
Check configuration file syntax before saving it
* Makefile.PL: Require IPC::Cmd * lib/Config/HAProxy.pm (lint): New method. (save): Call linter prior to saving. Take optional dry_run keyword as argument. * t/lint.t: New file.
Diffstat (limited to 'Makefile.PL')
-rw-r--r--Makefile.PL3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index d9cc6e8..754d3aa 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -18,3 +18,4 @@ WriteMakefile(
'File::Basename' => 0,
- 'File::Temp' => 0
+ 'File::Temp' => 0,
+ 'IPC::Cmd' => 0
},

Return to:

Send suggestions and report system problems to the System administrator.