We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0334814 commit 5401b4fCopy full SHA for 5401b4f
Rakefile
@@ -9,7 +9,22 @@ require "rubocop/rake_task"
9
10
RuboCop::RakeTask.new
11
12
+namespace :rbs do
13
+ desc "`rbs collection install` and `git commit`"
14
+ task :install do
15
+ sh "rbs collection install"
16
+ sh "git add rbs_collection.lock.yaml"
17
+ sh "git commit -m 'rbs collection install' || true"
18
+ end
19
+end
20
+
21
+desc "Check rbs"
22
+task :rbs do
23
+ sh "rbs validate"
24
+ sh "steep check"
25
26
27
desc "Run all development tasks"
-task dev_all: %i[spec rubocop]
28
+task dev_all: %i[spec rubocop rbs]
29
30
task default: :dev_all
0 commit comments