Sha256: d8827b67f673b45fb7d614fa6f6558cb252fe57be261e866b448d686bc79d4b3

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

require "bundler"
require "rake/testtask"

Bundler::GemHelper.install_tasks

Rake::TestTask.new do |test|
  test.test_files = FileList["test/**/*_test.rb"]
end

task :default => :test

# # encoding: utf-8
# require "jeweler"
# require "rake/testtask"
#
# Jeweler::Tasks.new do |spec|
#   spec.name = "rails-erd"
#   spec.rubyforge_project = "rails-erd"
#   spec.summary = "Entity-relationship diagram for your Rails models."
#   spec.description = "Automatically generate an entity-relationship diagram (ERD) for your Rails models."
#
#   spec.authors = ["Rolf Timmermans"]
#   spec.email = "r.timmermans@voormedia.com"
#   spec.homepage = "http://rails-erd.rubyforge.org/"
#
#   # Don't bundle examples or website in gem.
#   excluded = Dir["{examples,site}/**/*"]
#   spec.files -= excluded
#   spec.test_files -= excluded
# end
#
# Jeweler::GemcutterTasks.new
#
# Jeweler::RubyforgeTasks.new do |rubyforge|
#   rubyforge.doc_task = "rdoc"
#   rubyforge.remote_doc_path = "doc"
# end
#
# Rake::TestTask.new do |test|
#   test.pattern = "test/unit/**/*_test.rb"
# end
#
# task :default => :test
#
# begin
#   require "hanna/rdoctask"
#   Rake::RDocTask.new do |rdoc|
#     rdoc.rdoc_files = %w{CHANGES.rdoc LICENSE} + Dir["lib/**/*.rb"]
#     rdoc.title = "Rails ERD – API Documentation"
#     rdoc.rdoc_dir = "rdoc"
#     rdoc.main = "RailsERD"
#   end
# rescue LoadError
# end
#
# desc "Generate diagrams for bundled examples"
# task :examples do
#   require File.expand_path("examples/generate", File.dirname(__FILE__))
# end
#
# namespace :examples do
#   task :sfdp do
#     require File.expand_path("examples/sfdp", File.dirname(__FILE__))
#   end
# end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rails-erd-1.0.0 Rakefile