Sha256: 7bd7ef0684f8d536e27661727c45db69b0b806b7d0f760ccf9079bea7a78032a

Contents?: true

Size: 817 Bytes

Versions: 8

Compression:

Stored size: 817 Bytes

Contents

# frozen_string_literal: true

require_relative 'lib/ruby_raider'
require_relative 'lib/commands/scaffolding_commands'

desc 'Creates a new test project'
task :new, [:name] do |_t, args|
  system "bin/raider -n #{args.name}"
end

desc 'Creates a page'
task :page, [:name, :path] do |_t, args|
  ScaffoldingCommands.new.invoke(:page, nil, %W[:#{args.name} --path #{args.path}])
end

desc 'Sets a browser'
task :browser, [:type, :options] do |_t, args|
  ScaffoldingCommands.new.invoke(:browser, nil, %W[:#{args.type} --opts #{args.options}])
end

desc 'Updates a path'
task :path, [:path] do |_t, args|
  ScaffoldingCommands.new.invoke(:path, nil, %W[#{args.path} -s])
end

desc 'Download mobile builds'
task :builds, [:type] do |_t, args|
  ScaffoldingCommands.new.invoke(:download_builds, nil, %W[#{args.type}])
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ruby_raider-0.7.6 Rakefile
ruby_raider-0.7.5 Rakefile
ruby_raider-0.7.4 Rakefile
ruby_raider-0.6.0 Rakefile
ruby_raider-0.5.6 Rakefile
ruby_raider-0.5.5 Rakefile
ruby_raider-0.5.4 Rakefile
ruby_raider-0.5.3 Rakefile