Sha256: 0eeed9cb4eadecae6e882405e890651f957a377404401ff3f315bad74dc104d6

Contents?: true

Size: 508 Bytes

Versions: 6

Compression:

Stored size: 508 Bytes

Contents

#!/usr/bin/env rake
require 'rake/testtask'

require 'appraisal'
require 'yaggy'

Yaggy.gem(File.expand_path("ar_mysql_flexmaster.gemspec", File.dirname(__FILE__)), :push_gem => true)

Rake::TestTask.new(:test_units) do |test|
  test.libs << 'lib' << 'test'
  test.pattern = 'test/*_test.rb'
  test.verbose = true
end

task :test do 
  retval = true
  retval &= Rake::Task[:test_units].invoke
  retval &= system(File.dirname(__FILE__) + "/test/integration/run_integration_tests")
end

task :default => :test

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ar_mysql_flexmaster-0.4.0 Rakefile
ar_mysql_flexmaster-0.3.1 Rakefile
ar_mysql_flexmaster-0.3.0 Rakefile
ar_mysql_flexmaster-0.2.2 Rakefile
ar_mysql_flexmaster-0.2.1 Rakefile
ar_mysql_flexmaster-0.2.0 Rakefile