Sha256: 2968d7db95e95f3e5610ac4e8580817afe46f6167ce71b451e932556b3f055bb
Contents?: true
Size: 692 Bytes
Versions: 17
Compression:
Stored size: 692 Bytes
Contents
require 'bundler/gem_tasks' desc 'Run benchmarks' task :bench do exit system('bundle exec ruby benchmarks/benchmark.rb') end desc 'Run RSpec code examples' task :spec do exit system('bundle exec rspec --pattern spec/hamlit/**{,/\*/\*\*\}/\*_spec.rb') end namespace :spec do namespace :update do desc 'Generate converted ugly haml-spec' task :ugly do system('cd spec && rake ugly') end desc 'Generate converted pretty haml-spec' task :pretty do system('cd spec && rake pretty') end end end namespace :rails do desc 'Run Rails specs' task :spec do exit system('cd spec/rails && rake spec') end end task default: [:spec, 'rails:spec']
Version data entries
17 entries across 17 versions & 1 rubygems