Sha256: cf7bd99a07d89740795706edc2136b7b664111ca95ac527d928553f4fc6a35e3

Contents?: true

Size: 766 Bytes

Versions: 4

Compression:

Stored size: 766 Bytes

Contents

require 'rake'
require 'rake/testtask'

begin
  require 'jeweler'
  Jeweler::Tasks.new do |s|
    s.name = "my_generator"
    s.summary = "Generators which create tests using shoulda"
    s.email = "stefan.penner@gmail.com"
    s.homepage = "http://github.com/stefanpenneri/shoulda_generator"
    s.description = "Generators which create tests using shoulda"
    s.authors = ["Josh Nichols","Stefan Penner"]
    s.files =  FileList["[A-Z]*", "{generators,lib,test}/**/*"]
  end
rescue LoadError
  puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end

Rake::TestTask.new do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = false
end

desc 'Test by default'
task :default => :test

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
stefanpenner-my_generator-0.1.1 Rakefile
stefanpenner-my_generator-0.1.2 Rakefile
stefanpenner-my_generator-0.1.3 Rakefile
stefanpenner-my_scaffold-0.1.3 Rakefile