Commit 9fbba319 authored by Samuel E. Giddins's avatar Samuel E. Giddins

[Rakefile] Ensure hg is installed before rebuilding the integration fixtures

Closes https://github.com/CocoaPods/CocoaPods/issues/2977
parent 8d05a2ef
......@@ -171,6 +171,10 @@ begin
desc "Rebuilds integration fixtures"
task :rebuild_integration_fixtures do
if `which hg` && !$?.success?
puts red('[!] Mercurial (`hg`) must be installed to rebuild the integration fixtures.')
exit 1
end
title 'Running Integration tests'
sh 'rm -rf spec/cocoapods-integration-specs/tmp'
title 'Building all the fixtures'
......
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