Commit d8fa600d authored by Fabio Pelosin's avatar Fabio Pelosin

[Rakefile] Check that the specs repo exist in pre-release task

Fix https://github.com/CocoaPods/Rainforest/issues/32
parent d132d9d7
...@@ -57,6 +57,16 @@ begin ...@@ -57,6 +57,16 @@ begin
require "bundler/gem_tasks" require "bundler/gem_tasks"
# Pre release
#-----------------------------------------------------------------------------#
desc "Prepares for a release"
task :pre_release do
unless File.exist?('../Specs')
raise 'Ensure that the specs repo exits in the `../Specs` location'
end
end
# Post release # Post release
#-----------------------------------------------------------------------------# #-----------------------------------------------------------------------------#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment