Sha256: d6845c812ceaacf4b79a41d0e746226741ac177b0c6c9da76beb985015ebfa60

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 Bytes

Contents

namespace :dsl do
  desc "Generate JmeterPerf::DSL methods"
  task :generate do
    require_relative "../jmeter_perf/helpers/dsl_generator"
    # Rake tasks would be ran from root of the project
    lib_dir = Pathname(".").expand_path.join("lib")
    gem_dir = lib_dir.join("jmeter_perf")
    dsl_dir = gem_dir.join("dsl")
    idl_xml_path = lib_dir.join("specifications/idl.xml")

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

    generator.generate
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jmeter_perf-0.0.6 tasks/dsl.rake