diff options
author | ☈king <rking@sharpsaw.org> | 2012-11-14 22:37:37 -0700 |
---|---|---|
committer | rking@sharpsaw.org <> | 2012-11-15 18:59:51 -0600 |
commit | 848b6bdbeb30115b537dc55b0eb07358b7d5534f (patch) | |
tree | 6af3c21188ad7a73d912406b6f3ddce75edaf3c4 /Rakefile | |
parent | 7a5d21ba746c49a0d3d344553e9c43bbb89cd57e (diff) | |
download | pry-848b6bdbeb30115b537dc55b0eb07358b7d5534f.tar.gz |
Rename for tabcompletion-friendliness.
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -18,7 +18,7 @@ def apply_spec_defaults(s) s.homepage = 'http://pry.github.com' s.executables = ['pry'] s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- test/*`.split("\n") + s.test_files = `git ls-files -- spec/*`.split("\n") s.add_dependency('coderay', '~> 1.0.5') s.add_dependency('slop', ['~> 3.3.1']) s.add_dependency('method_source','~> 0.8') @@ -47,8 +47,11 @@ task :default => [:test] desc "Run tests" task :test do check_dependencies unless ENV['SKIP_DEP_CHECK'] - sh "bacon -Itest -rubygems -a -q" + all_specs = Dir['spec/**/*_spec.rb'] + all_specs.shuffle! if all_specs.respond_to? :shuffle! + sh "bacon -Ispec -rubygems -a -q #{all_specs.join ' '}" end +task :spec => :test desc "Run pry" task :pry do |