Remove redundant code
This commit is contained in:
parent
d304364e81
commit
f02e7331d8
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue