Skip to content

Commit 3f04490

Browse files
committed
add desc in some rake tasks
1 parent c4670c2 commit 3f04490

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Rakefile

+3-1
Original file line numberDiff line numberDiff line change
@@ -105,17 +105,19 @@ RuboCop::RakeTask.new(:rubocop) do |t|
105105
t.fail_on_error = true
106106
end
107107

108-
desc("print commands which haven't implemented yet.")
108+
desc("print commands which Ruby client has not implemented them yet.")
109109
namespace :commands do
110110
require './script/commands'
111111

112+
desc('Mobile JSON protocol')
112113
task :mjsonwp do |_t, _args|
113114
c = Script::CommandsChecker.new
114115
c.get_mjsonwp_routes
115116
c.get_all_command_path './mjsonwp_routes.js'
116117
c.all_diff_commands_mjsonwp.each { |key, value| puts("command: #{key}, method: #{value}") }
117118
end
118119

120+
desc('W3C protocol')
119121
task :w3c do |_t, _args|
120122
c = Script::CommandsChecker.new
121123
c.get_mjsonwp_routes

0 commit comments

Comments
 (0)