Sha256: d4643ab7f5cb1930d349636ba281dff89153025de4051cc94ed0cc8d0674e869
Contents?: true
Size: 1.29 KB
Versions: 1
Compression:
Stored size: 1.29 KB
Contents
#!/usr/bin/env rake begin require 'bundler/setup' rescue LoadError puts 'You must `gem install bundler` and `bundle install` to run rake tasks' end begin require 'rdoc/task' rescue LoadError require 'rdoc/rdoc' require 'rake/rdoctask' RDoc::Task = Rake::RDocTask end RDoc::Task.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Certify' rdoc.options << '--line-numbers' rdoc.rdoc_files.include('README.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__) load 'rails/tasks/engine.rake' Bundler::GemHelper.install_tasks require 'rake/testtask' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end task :default => :test begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "uniquify" gemspec.summary = "Generate a unique token with Active Record." gemspec.description = "Generate a unique token with Active Record." gemspec.email = "ryan@railscasts.com" gemspec.homepage = "http://github.com/ryanb/uniquify" gemspec.authors = ["Ryan Bates"] end Jeweler::GemcutterTasks.new rescue LoadError puts "Jeweler not available. Install it with: sudo gem install jeweler -s http://gemcutter.org" end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
certify-0.0.2 | Rakefile |