Sha256: 54a768b362ded2278325d46d410532bd184b59fc81a4920af8f691488b9b2f6a

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

namespace :jmeter_perf do
  desc "Generate JmeterPerf::DSL methods"
  task :dsl_generate, [:dsl_dir, :idl_xml_path] do |t, args|
    require_relative "../helpers/dsl_generator"
    puts "Generating DSL methods..."

    dsl_dir = Pathname(args[:dsl_dir]).expand_path
    idl_xml_path = Pathname(args[:idl_xml_path]).expand_path

    generator = DSLGenerator.new(
      dsl_dir: dsl_dir,
      idl_xml_path: idl_xml_path
    )

    generator.generate

    puts "Finished generating DSL methods."
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jmeter_perf-1.0.2 lib/jmeter_perf/tasks/dsl.rake
jmeter_perf-1.0.1 lib/jmeter_perf/tasks/dsl.rake
jmeter_perf-1.0.0 lib/jmeter_perf/tasks/dsl.rake