twitter-status-bot/.gems/gems/http_parser.rb-0.6.0/tasks/submodules.rake

8 lines
182 B
Ruby
Raw Normal View History

2014-09-03 08:49:59 +00:00
desc "Fetch upstream submodules"
task :submodules do
if Dir['ext/ruby_http_parser/vendor/http-parser/*'].empty?
sh 'git submodule init'
sh 'git submodule update'
end
end