Sha256: 51e19a02be69268f676c52165810084649964b19a1a9289a29752bd745b14536

Contents?: true

Size: 756 Bytes

Versions: 1

Compression:

Stored size: 756 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'cucumber/rake/task'
require 'rubocop/rake_task'

RSpec::Core::RakeTask.new(:spec)
RuboCop::RakeTask.new
Cucumber::Rake::Task.new(:cucumber)
Cucumber::Rake::Task.new(
  :cucumber_json, 'Generate Cucumber JSON in tmp/'
) do |t|
  t.cucumber_opts = %w[-f json -o tmp/cucumber.json]
end

task default: %i[spec cucumber rubocop]

desc 'Generate Cukedoctor docs in generated_doc/ using docker'
task docker_generate_docs: [:cucumber_json] do
  sh 'docker run -v "$PWD:/output" -w /output rmpestano/cukedoctor' \
    ' -o generated_doc/index -f html5 -p tmp/cucumber.json' \
    ' -t "Rung Documentation" -hideSummarySection  -hideStepTime' \
    ' -hideScenarioKeyword -hideFeaturesSection'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rung-0.1 Rakefile