File: ruby-tests.rake

package info (click to toggle)
ruby-mysql2 0.4.5-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 748 kB
  • ctags: 511
  • sloc: ansic: 2,985; ruby: 2,699; sh: 61; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 264 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
require 'rspec/core/rake_task'

task :default do
  sh 'cp spec/configuration.yml.example spec/configuration.yml'
  sh 'cp spec/my.cnf.example spec/my.cnf'

  ruby = RbConfig::CONFIG['ruby_install_name']
  sh "./debian/start_mysqld_and_run.sh #{ruby} -S rspec"
end