Sha256: e2328663589f68cc2b6ebe3da01cce55e6e9c2a8cd33897525f7c7c4e2b5658c
Contents?: true
Size: 626 Bytes
Versions: 5
Compression:
Stored size: 626 Bytes
Contents
namespace :dsl do desc "Generate JmeterPerf::DSL methods" task :generate do require_relative "../lib/jmeter_perf/helpers/dsl_generator" puts "Generating DSL methods..." # 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( dsl_dir: dsl_dir, idl_xml_path: idl_xml_path, document_dsl: false ) generator.generate puts "Finished generating DSL methods." end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
jmeter_perf-1.0.5 | tasks/dsl.rake |
jmeter_perf-1.0.4 | tasks/dsl.rake |
jmeter_perf-1.0.2 | tasks/dsl.rake |
jmeter_perf-1.0.1 | tasks/dsl.rake |
jmeter_perf-1.0.0 | tasks/dsl.rake |