Skip to content

Commit 1f80145

Browse files
committed
🔧 default task
1 parent 2622771 commit 1f80145

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Rakefile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,13 +68,5 @@ rescue LoadError
6868
task(coverage: :spec)
6969
end
7070

71-
default_tasks =
72-
if ENV.fetch("CI", "false").casecmp?("false")
73-
# Open coverage in browser locally
74-
%i[coverage rubocop_gradual:autocorrect yard yard:junk]
75-
else
76-
# Run coverage, but do not open in browser, in CI
77-
%i[spec rubocop_gradual:check yard yard:junk]
78-
end
79-
80-
task default: default_tasks
71+
# coverage task will open coverage in browser locally
72+
task default: %i[coverage rubocop_gradual:autocorrect yard yard:junk]

0 commit comments

Comments
 (0)