summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormo <mo@mokhan.ca>2018-05-07 16:16:53 -0600
committermo <mo@mokhan.ca>2018-05-07 16:16:53 -0600
commit31500bdab2e72b370d7e622195161df2515fdf4f (patch)
tree4b4810e79eb6e5962986f8efca45a62d6899cf79 /Rakefile
parent94930e58756679db7803e7fd59664f696689388d (diff)
hook up CI.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index d433a1e..19d0a67 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,10 +1,13 @@
require "bundler/gem_tasks"
require "rake/testtask"
+require 'rubocop/rake_task'
Rake::TestTask.new(:test) do |t|
t.libs << "test"
t.libs << "lib"
t.test_files = FileList["test/**/*_test.rb"]
end
+RuboCop::RakeTask.new(:rubocop)
+task lint: [:rubocop]
task :default => :test