]> git.koha-community.org Git - koha.git/commit
Bug 7994: scripts to check yaml files
authorClaire Hernandez <claire.hernandez@biblibre.com>
Mon, 23 Apr 2012 13:11:46 +0000 (15:11 +0200)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Sat, 11 Aug 2012 11:29:31 +0000 (07:29 -0400)
commitbc02be6c1692a3fc67112f4afad571993a08d4f9
treedfba7eb2c6a9b07a6930337442c303fc2cbd3058
parentf2259a2354b503b824dfb94f2eb9bc8c31c457ff
Bug 7994: scripts to check yaml files

$ prove yaml_valid.t
checks a closed list of files
$ perl yaml_valid.pl -f myfile.yaml
try to load a yaml file with YAML::LoadFile and show errors

(both files pertidied)

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 5cb8c9f6e44aa9874231bae5a909cb4a4f3473b5)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
xt/yaml_valid.pl [new file with mode: 0755]
xt/yaml_valid.t [new file with mode: 0755]