Update to latest Unity and therefore newer Rubocop standards. Tweaked scripts to match latest standards.

This commit is contained in:
Mark VanderVoord
2023-11-22 17:40:07 -05:00
parent 32049399b3
commit a642b1fe49
22 changed files with 107 additions and 104 deletions
+4 -1
View File
@@ -117,7 +117,10 @@ end
namespace :style do
desc "Check style"
task :check do
report "\nVERIFYING RUBY STYLE"
report "\n"
report "--------------------\n"
report "VERIFYING RUBY STYLE\n"
report "--------------------\n"
report execute("rubocop ../lib ../examples ../config ../scripts --config ../vendor/unity/test/.rubocop.yml", true)
report "Styling Ruby:PASS"
end
+4
View File
@@ -396,6 +396,10 @@ module RakefileHelpers
end
def run_examples()
report "\n"
report "-----------------\n"
report "VALIDATE EXAMPLES\n"
report "-----------------\n"
[ "cd #{File.join("..","examples","make_example")} && make clean && make setup && make test",
"cd #{File.join("..","examples","temp_sensor")} && rake ci"
].each do |cmd|