summaryrefslogtreecommitdiff
path: root/spec/default.mspec
blob: b429f6417c424944a2ab97e0b3ec3f777a83ff92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
class MSpecScript
  # An ordered list of the directories containing specs to run
  # as the CI process.
  set :ci_files, %w[
    spec/rubyspec/1.9/core
    spec/rubyspec/1.9/language
    spec/rubyspec/1.9/library
  ]

  srcdir = File.expand_path(File.join(File.dirname(__FILE__), '..'))
  # The default implementation to run the specs.
  set :target, File.join(srcdir, `#{srcdir}/miniruby -I#{srcdir} -rrbconfig -e 'print Config::CONFIG["RUBY_INSTALL_NAME"]'`)
end