summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 9aa8d42..da1e041 100644
--- a/Rakefile
+++ b/Rakefile
@@ -91,8 +91,10 @@ end
Rake::Task["spec"].actions.uniq! { |a| a.source_location }
+# standard:disable Style/HashSyntax
task :default => :spec unless Rake::Task["default"].prereqs.include?("spec")
task :test => :spec unless Rake::Task["test"].prereqs.include?("spec")
+# standard:enable Style/HashSyntax
if RUBY_VERSION >= "2.0" && RUBY_ENGINE == "ruby"
namespace :spec do