Sha256: 15755279b98b8149bc822b8be8606680c57c6e326eae0c5e4e6329ef2c38ef0c

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

require 'rake'
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

task 'default' => 'ci'

desc 'Run all tests for CI'
task 'ci' => 'spec'

desc 'Run all specs'
task 'spec' => 'spec:all'

namespace 'spec' do
  task 'all' => ['trans_forms', 'generators']

  def spec_task(name)
    desc "Run #{name} specs"
    RSpec::Core::RakeTask.new(name) do |t|
      t.pattern = "spec/#{name}/**/*_spec.rb"
    end
  end

  spec_task 'trans_forms'
  spec_task 'generators'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
trans_forms-0.1.0 Rakefile