From 8fe3891ea9917c46ffa0214f46e815af12354e77 Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 27 Sep 2016 05:06:43 -0400 Subject: [PATCH] Makefile: Limit depth for yamlfmt --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f18c1fc3..93660600 100644 --- a/Makefile +++ b/Makefile @@ -131,7 +131,7 @@ gofmt: find . -maxdepth 3 -type f -name '*.go' -not -path './old/*' -not -path './tmp/*' -exec gofmt -w {} \; yamlfmt: - 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.each_line.map(&:rstrip).join(10.chr)+10.chr; File.open('{}', 'w').write x" \; + find . -maxdepth 3 -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.each_line.map(&:rstrip).join(10.chr)+10.chr; File.open('{}', 'w').write x" \; format: gofmt yamlfmt