"Fossies" - the Fresh Open Source Software Archive

Member "asciidoctor-2.0.10/tasks/cucumber.rake" (1 Jun 2019, 243 Bytes) of package /linux/www/asciidoctor-2.0.10.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "cucumber.rake": 2.0.7_vs_2.0.8.

    1 # frozen_string_literal: true
    2 begin
    3   require 'cucumber/rake/task'
    4   Cucumber::Rake::Task.new :features do |t|
    5     t.cucumber_opts = %w(-f progress)
    6     t.cucumber_opts << '--no-color' if ENV['CI']
    7   end
    8 rescue LoadError
    9   warn $!.message
   10 end