Sha256: 78594d60a5355bb9d6609c17adc842d4f6f37e88a732039e24a72fcd21625f99

Contents?: true

Size: 271 Bytes

Versions: 1

Compression:

Stored size: 271 Bytes

Contents

# frozen_string_literal: true

require 'yaml'

desc 'Selects browser for automation run'
task :select_browser, [:browser] do |_t, args|
  config = YAML.load_file('config/config.yml')
  config['browser'] = args.browser
  File.write('config/config.yml', config.to_yaml)
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby_raider-0.2.0 lib/generators/templates/common/rakefile.tt