Sha256: d93f597bd68e5415847bb7db024ddec91f663d1988982ae3acb6b7b3113dacb8
Contents?: true
Size: 799 Bytes
Versions: 1
Compression:
Stored size: 799 Bytes
Contents
#!/usr/bin/env rake require 'rubygems' require 'bundler/setup' require 'bundler' Bundler::GemHelper.install_tasks require 'appraisal' require 'rake/clean' require 'rspec/core/rake_task' namespace :spec do begin require 'cane/rake_task' desc "Run cane to check quality metrics" Cane::RakeTask.new(:quality) do |cane| cane.abc_max = 10 cane.add_threshold 'coverage/covered_percent', :>=, 74 cane.no_style = true end task :default => :quality rescue LoadError warn "cane not available, quality task not provided." end desc 'Run unit specs' RSpec::Core::RakeTask.new(:unit) do |spec| spec.pattern = "spec/unit/*_spec.rb" spec.rspec_opts = "--require spec_helper" end end desc 'Default: run unit tests.' task :default => ['spec:unit']
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
middleman-react-0.0.2 | Rakefile |