Skip to content

Commit

Permalink
chore: remove outdated files/commands
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Nov 6, 2023
1 parent 9651c9d commit 163b360
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 806 deletions.
23 changes: 1 addition & 22 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,28 +113,7 @@ end

desc('Execute RuboCop static code analysis')
RuboCop::RakeTask.new(:rubocop) do |t|
t.patterns = %w(lib test script)
t.patterns = %w(lib test)
t.options = %w(-D)
t.fail_on_error = true
end

desc('print commands which Ruby client has not implemented them yet')
namespace :commands do
require './script/commands'

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

desc('W3C protocol')
task :w3c do |_t, _args|
c = Script::CommandsChecker.new
c.get_mjsonwp_routes
c.get_all_command_path './mjsonwp_routes.js'
c.all_diff_commands_w3c.each { |key, value| puts("command: #{key}, method: #{value}") }
end
end
166 changes: 0 additions & 166 deletions script/commands.rb

This file was deleted.

62 changes: 0 additions & 62 deletions test/unit/script/commands_test.rb

This file was deleted.

Loading

0 comments on commit 163b360

Please sign in to comment.