Try to fix a test failure that only happens on RunCodeRun.
This commit is contained in:
parent
24d51a543a
commit
f7b729fa60
4
Rakefile
4
Rakefile
@ -3,11 +3,13 @@ if ENV['RUN_CODE_RUN']
|
|||||||
if File.directory?("haml")
|
if File.directory?("haml")
|
||||||
Dir.chdir("haml") do
|
Dir.chdir("haml") do
|
||||||
sh "git", "fetch"
|
sh "git", "fetch"
|
||||||
sh "git", "reset", "--hard", "origin/stable"
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
sh "git", "clone", "git://github.com/nex3/haml.git"
|
sh "git", "clone", "git://github.com/nex3/haml.git"
|
||||||
end
|
end
|
||||||
|
Dir.chdir("haml") do
|
||||||
|
sh "git", "reset", "--hard", "origin/stable"
|
||||||
|
end
|
||||||
$LOAD_PATH.unshift "haml/lib"
|
$LOAD_PATH.unshift "haml/lib"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user