Sha256: 527b98e0aadd0253f369b23dae6b7b31d0db6c97f4a613433cd76d246048cdb3

Contents?: true

Size: 655 Bytes

Versions: 16

Compression:

Stored size: 655 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

desc 'Automatically generate documents from rspec'
task :doc do
  system('AUTODOC=1 bundle exec rake spec')
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

16 entries across 16 versions & 1 rubygems

Version Path
hamlit-1.7.2 Rakefile
hamlit-1.7.1 Rakefile
hamlit-1.7.0 Rakefile
hamlit-1.6.7 Rakefile
hamlit-1.6.6 Rakefile
hamlit-1.6.5 Rakefile
hamlit-1.6.4 Rakefile
hamlit-1.6.3 Rakefile
hamlit-1.6.2 Rakefile
hamlit-1.6.1 Rakefile
hamlit-1.6.0 Rakefile
hamlit-1.5.9 Rakefile
hamlit-1.5.8 Rakefile
hamlit-1.5.7 Rakefile
hamlit-1.5.6 Rakefile
hamlit-1.5.5 Rakefile