Sha256: fc759b0926c337bad147ccfcf5aa05e1672c7bc5f63de6cca2c55686380819ac
Contents?: true
Size: 846 Bytes
Versions: 1
Compression:
Stored size: 846 Bytes
Contents
require 'rubygems' require 'rake' require 'rake/clean' require 'rake/testtask' require 'rake/rdoctask' require 'rake/packagetask' require 'rake/gempackagetask' # Set global variable so other tasks can access them PROJECT_ROOT = File.expand_path(".") GEM_NAME = 'composite_primary_keys' # Read the spec file spec = Gem::Specification.load("#{GEM_NAME}.gemspec") # Setup Rake tasks for managing the gem Rake::GemPackageTask.new(spec).define # Now load in other task files Dir.glob('tasks/**/*.rake').each do |rake_file| load File.join(File.dirname(__FILE__), rake_file) end # Set up test tasks for adapter in %w( mysql sqlite oracle oracle_enhanced postgresql ibm_db ) Rake::TestTask.new("test_#{adapter}") do |t| t.libs << "test" << "test/connections/native_#{adapter}" t.pattern = "test/test_*.rb" t.verbose = true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
composite_primary_keys-3.1.0 | Rakefile |