mirror of
https://github.com/ThrowTheSwitch/CMock.git
synced 2026-08-19 17:49:56 +00:00
Update to latest Unity and therefore newer Rubocop standards. Tweaked scripts to match latest standards.
This commit is contained in:
+4
-1
@@ -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
|
||||
|
||||
@@ -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|
|
||||
|
||||
Reference in New Issue
Block a user