diff options
author | Daniel DeLeo <dan@opscode.com> | 2011-12-01 11:57:54 -0800 |
---|---|---|
committer | Daniel DeLeo <dan@opscode.com> | 2011-12-01 11:57:54 -0800 |
commit | 542387d2374ca3e23b070972828e43901a4056b6 (patch) | |
tree | 7131d81bfdf0d6eaf6b4ce9ce466d286ff57fe8a /Rakefile | |
parent | 1f7734e92f30c0b6545bcc8b537e920e3f12b6bc (diff) | |
download | mixlib-shellout-542387d2374ca3e23b070972828e43901a4056b6.tar.gz |
cleanup Rakefile and add gem pkg task
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -1,10 +1,12 @@ require 'rspec/core/rake_task' +require 'rubygems/package_task' -ROOT = File.expand_path(File.dirname(__FILE__)) +gemspec = eval(IO.read('mixlib-shellout.gemspec')) +Gem::PackageTask.new(gemspec).define desc "Run all specs in spec directory" RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = FileList['spec/**/*_spec.rb'] end -task :default => :spec
\ No newline at end of file +task :default => :spec |