Sha256: 58642e507a895ab7aefa9f1a5d6a42e62525013c3079cfe30d6bafcba0a4fd43
Contents?: true
Size: 1.09 KB
Versions: 4
Compression:
Stored size: 1.09 KB
Contents
# encoding: utf-8 require 'rubygems' require 'bundler' Bundler.setup Bundler::GemHelper.install_tasks require 'cucumber/rake/task' Cucumber::Rake::Task.new do |t| t.cucumber_opts = "" # t.cucumber_opts = "--format Cucumber::Pro --out cucumber-pro.log" if ENV['CUCUMBER_PRO_TOKEN'] t.cucumber_opts << "--format pretty" end Cucumber::Rake::Task.new(:cucumber_wip) do |t| t.cucumber_opts = "-p wip" end require 'rspec/core/rake_task' desc "Run RSpec" RSpec::Core::RakeTask.new do |spec| spec.rspec_opts = ['--color', '--format documentation', '--warnings'] end namespace :travis do desc 'Lint travis.yml' task :lint do begin require 'travis/yaml' puts 'Linting .travis.yml ... No output is good!' Travis::Yaml.parse! File.read('.travis.yml') rescue LoadError $stderr.puts 'You ruby is not supported for linting the .travis.yml' end end end task :rubocop do begin sh 'rubocop --fail-level E' rescue end end desc "Run tests, both RSpec and Cucumber" task :test => [ 'travis:lint', :rubocop, :spec, :cucumber, :cucumber_wip] task :default => :test
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
aruba-win-fix-0.14.2 | Rakefile |
aruba-0.14.2 | Rakefile |
aruba-0.14.1 | Rakefile |
aruba-0.14.0 | Rakefile |