aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
new file mode 100644
index 0000000..9a5f79e
--- /dev/null
+++ b/Rakefile
@@ -0,0 +1,13 @@
+require 'rake'
+require 'rspec/core/rake_task'
+require 'rubocop/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |t|
+ t.pattern = Dir.glob('test/**/*_spec.rb')
+end
+
+RuboCop::RakeTask.new(:rubocop) do |t|
+ t.patterns = Dir.glob('lib/**/*.rb')
+end
+
+task default: :spec