Sha256: 520882c63ea7bc354d4b73b2a2d8d08cde16d73ef96734aca357db05451dabe4

Contents?: true

Size: 545 Bytes

Versions: 12

Compression:

Stored size: 545 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

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ruby_raider-0.5.2 Rakefile
ruby_raider-0.5.1 Rakefile
ruby_raider-0.5.0 Rakefile
ruby_raider-0.4.9 Rakefile
ruby_raider-0.4.8 Rakefile
ruby_raider-0.4.7 Rakefile
ruby_raider-0.4.6 Rakefile
ruby_raider-0.4.5 Rakefile
ruby_raider-0.4.4 Rakefile
ruby_raider-0.4.3 Rakefile
ruby_raider-0.4.2 Rakefile
ruby_raider-0.4.1 Rakefile