summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 1fb8520..93c73e3 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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