Skip to content

Commit

Permalink
dev: rake format output is quieter
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
flavorjones committed Dec 25, 2021
1 parent 570574e commit 238bc49
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rakelib/format.rake
Expand Up @@ -42,6 +42,10 @@ module AstyleHelper

# gotta set a limit somewhere
"--max-code-length=120",

# be quiet about files that haven't changed
"--formatted",
"--verbose",
]
end

Expand All @@ -58,11 +62,13 @@ end
namespace "format" do
desc "Format Nokogiri's C code"
task "c" do
puts "Running astyle on C files ..."
AstyleHelper.run(AstyleHelper.c_files)
end

desc "Format Nokogiri's Java code"
task "java" do
puts "Running astyle on Java files ..."
AstyleHelper.run(AstyleHelper.java_files)
end

Expand Down

0 comments on commit 238bc49

Please sign in to comment.