Skip to content

Commit eef0358

Browse files
committed
warn if no ag installed
1 parent 57bb829 commit eef0358

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ end
6060

6161
desc "Updates the rspec.github.io docs"
6262
task :update_docs, [:version, :branch, :website_path] do |t, args|
63+
abort "You must have ag installed to generate docs" if `which ag` == ""
6364
args.with_defaults(:website_path => "../rspec.github.io")
6465
run_command "git checkout #{args[:branch]} && git pull --rebase"
6566
each_project :except => UnDocumentedProjects do |project|

0 commit comments

Comments
 (0)