2014-04-11 00:31:44 -07:00
|
|
|
include Rake::DSL
|
|
|
|
|
|
|
|
def git(url,dest)
|
2014-07-17 05:17:57 -07:00
|
|
|
sh "git clone #{url} #{dest}" unless Dir.exists?(dest)
|
2014-04-11 00:31:44 -07:00
|
|
|
end
|
|
|
|
|
|
|
|
def github(repo,dest)
|
2014-06-21 01:13:56 -07:00
|
|
|
git "https://github.com/#{repo}.git", dest
|
2014-04-11 00:31:44 -07:00
|
|
|
end
|