aboutsummaryrefslogtreecommitdiff
path: root/rakelib/ruby.rake
diff options
context:
space:
mode:
Diffstat (limited to 'rakelib/ruby.rake')
-rw-r--r--rakelib/ruby.rake11
1 files changed, 11 insertions, 0 deletions
diff --git a/rakelib/ruby.rake b/rakelib/ruby.rake
new file mode 100644
index 0000000..c3db30a
--- /dev/null
+++ b/rakelib/ruby.rake
@@ -0,0 +1,11 @@
+# This Source Code Form is subject to the terms of the Mozilla Public License,
+# v. 2.0. If a copy of the MPL was not distributed with this file, You can
+# obtain one at https://mozilla.org/MPL/2.0/.
+# frozen_string_literal: true
+
+require 'rubocop/rake_task'
+
+namespace :ruby do
+ desc 'Run RuboCop'
+ RuboCop::RakeTask.new :lint
+end