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:
2
Makefile
2
Makefile
@@ -40,7 +40,7 @@ test:
|
||||
|
||||
format:
|
||||
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
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ find_files() {
|
||||
\( \
|
||||
-wholename './old' \
|
||||
-o -wholename './tmp' \
|
||||
-o -wholename './omv.yaml' \
|
||||
\) -prune \
|
||||
\) -name '*.yaml'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user