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,9 +1,7 @@
include Rake::DSL include Rake::DSL
def git(url,dest) def git(url,dest)
if not Dir.exists?(dest) sh "git clone #{url} #{dest}" unless Dir.exists?(dest)
sh "git clone #{url} #{dest}" unless Dir.exists?(dest)
end
end end
def github(repo,dest) def github(repo,dest)