Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def plugin_install(repository)
- name = File.basename repository
- log 'plugin', name
- in_root do
- inside("vendor/plugins/#{name}") do
- run "git init -q"
- run "git pull --depth 1 #{repository}"
- run "rm -rf .git .gitignore"
- end
- end
- end
- plugin_install '~/work/vendor-plugins/app-config-generator'
Add Comment
Please, Sign In to add comment