Sha256: 8c6bb435e32be12d437310bc05c79ff0d08ee402af57c87a28b9d08060b335e7
Contents?: true
Size: 809 Bytes
Versions: 5
Compression:
Stored size: 809 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'cucumber/rake/task' Cucumber::Rake::Task.new(:cucumber, 'Run features that should pass') do |t| exempt_tags = "" exempt_tags << "--tags ~@nojava " if RUBY_PLATFORM == "java" t.cucumber_opts = "--color --tags ~@wip #{exempt_tags} --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}" end require 'rake/clean' task :test => ["cucumber"] begin require 'cane/rake_task' desc "Run cane to check quality metrics" Cane::RakeTask.new(:quality) do |cane| cane.no_style = true cane.no_doc = true cane.abc_glob = "lib/middleman-syntax/**/*.rb" end rescue LoadError # warn "cane not available, quality task not provided." end task :default => :test desc "Build HTML documentation" task :doc do sh 'bundle exec yard' end
Version data entries
5 entries across 5 versions & 2 rubygems