Remove redundant code

This commit is contained in:
Henrik Lissner 2014-07-17 08:17:57 -04:00
parent d304364e81
commit f02e7331d8

View file

@ -1,10 +1,8 @@
include Rake::DSL
def git(url,dest)
if not Dir.exists?(dest)
sh "git clone #{url} #{dest}" unless Dir.exists?(dest)
end
end
def github(repo,dest)
git "https://github.com/#{repo}.git", dest