Don't format or check omv.yaml syntax

Different versions of ruby format differently, so don't do this check
since it will invariably fail for someone. If there is a general
deterministic fix, please let me know :)
This commit is contained in:
James Shubin
2015-10-07 18:03:36 -04:00
parent e44da9578e
commit 4f6605b3d1
2 changed files with 2 additions and 1 deletions

View File

@@ -40,7 +40,7 @@ test:
format: format:
find -type f -name '*.go' -not -path './old/*' -not -path './tmp/*' -exec gofmt -w {} \; find -type f -name '*.go' -not -path './old/*' -not -path './tmp/*' -exec gofmt -w {} \;
find -type f -name '*.yaml' -not -path './old/*' -not -path './tmp/*' -exec ruby -e "require 'yaml'; x=YAML.load_file('{}').to_yaml; File.open('{}', 'w').write x" \; find -type f -name '*.yaml' -not -path './old/*' -not -path './tmp/*' -not -path './omv.yaml' -exec ruby -e "require 'yaml'; x=YAML.load_file('{}').to_yaml; File.open('{}', 'w').write x" \;
docs: mgmt-documentation.pdf docs: mgmt-documentation.pdf

View File

@@ -30,6 +30,7 @@ find_files() {
\( \ \( \
-wholename './old' \ -wholename './old' \
-o -wholename './tmp' \ -o -wholename './tmp' \
-o -wholename './omv.yaml' \
\) -prune \ \) -prune \
\) -name '*.yaml' \) -name '*.yaml'
} }