Initial commit
This commit is contained in:
11
lib/tasks/vendor.rake
Normal file
11
lib/tasks/vendor.rake
Normal file
@@ -0,0 +1,11 @@
|
||||
namespace :vendor do
|
||||
desc 'Clone the frontend apps repos into vendor/'
|
||||
task :clone do
|
||||
puts '----- Clone the frontend apps repos -----'
|
||||
puts
|
||||
@config['vendor'].each do |name, repo_url|
|
||||
sh "git clone #{repo_url} vendor/#{name}"
|
||||
puts
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user