]> 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>
Fri, 13 Jul 2012 02:29:54 +0000 (22:29 -0400)
commit7715c3e97f83b831cafc23115c8fdb45c1fd7b4f
tree449e67fc1001de260cb06fa1666d6122aaf5e645
parent29c50ccbf00ca8013e62286b3547a039039bd536
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)
xt/yaml_valid.pl [new file with mode: 0755]
xt/yaml_valid.t [new file with mode: 0755]