Sha256: 11fe3e5025a56b0664a3ab7819a673b7ad71ba779768cc9877d39b245fc077ef

Contents?: true

Size: 896 Bytes

Versions: 8

Compression:

Stored size: 896 Bytes

Contents

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

require 'rdoc/task'

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'SimpleTokenAuthentication'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end


Bundler::GemHelper.install_tasks


begin
  require 'cucumber'
  require 'cucumber/rake/task'

  Cucumber::Rake::Task.new(:features) do |t|
    t.cucumber_opts = "--format pretty"
  end

  Cucumber::Rake::Task.new(:features_html) do |t|
    t.cucumber_opts = "--format html --out doc/features.html"
  end

rescue LoadError
  desc 'Cucumber rake task not available'
  task :features do
    abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
  end
end


task default: :features

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple_token_authentication-1.5.1 Rakefile
simple_token_authentication-1.5.0 Rakefile
simple_token_authentication-1.4.0 Rakefile
simple_token_authentication-1.3.0 Rakefile
simple_token_authentication-1.2.1 Rakefile
simple_token_authentication-1.2.0 Rakefile
simple_token_authentication-1.1.1 Rakefile
simple_token_authentication-1.1.0 Rakefile