Sha256: 2745702a77731974a040ef6c85343bcebda1942059a962372115bc782f01e15a

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

require_relative "../jmeter_perf/helpers/dsl_generator"
require "pry-byebug"

namespace :dsl do
  desc "Generate JmeterPerf::DSL methods"
  task :generate do
    # 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.2 lib/tasks/dsl.rake