Sha256: c5ac0841141c7d265612491406a9a8409a518b9a226da19f93378dd466471801

Contents?: true

Size: 542 Bytes

Versions: 22

Compression:

Stored size: 542 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
  desc 'Generate converted ugly haml-spec'
  task :update do
    system('cd spec && rake ugly')
  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

22 entries across 22 versions & 1 rubygems

Version Path
hamlit-1.5.4 Rakefile
hamlit-1.5.3 Rakefile
hamlit-1.5.2 Rakefile
hamlit-1.5.1 Rakefile
hamlit-1.5.0 Rakefile
hamlit-1.4.7 Rakefile
hamlit-1.4.6 Rakefile
hamlit-1.4.5 Rakefile
hamlit-1.4.3 Rakefile
hamlit-1.4.2 Rakefile
hamlit-1.4.1 Rakefile
hamlit-1.3.2 Rakefile
hamlit-1.3.1 Rakefile
hamlit-1.3.0 Rakefile
hamlit-1.2.1 Rakefile
hamlit-1.2.0 Rakefile
hamlit-1.1.1 Rakefile
hamlit-1.1.0 Rakefile
hamlit-1.0.0 Rakefile
hamlit-0.6.2 Rakefile