nicojensen.de/vendor/bundle/gems/http_parser.rb-0.6.0/tasks/submodules.rake
Nico Jensen b59a203dbb Init
Init commit
2019-03-12 13:49:49 +01:00

7 lines
182 B
Ruby

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