Make run_code_run happy.
This commit is contained in:
parent
4f9faef76f
commit
4ac6f2a77a
3
Rakefile
3
Rakefile
@ -2,7 +2,8 @@ if ENV['RUN_CODE_RUN']
|
|||||||
# We need to checkout edge haml for the run>code>run test environment.
|
# We need to checkout edge haml for the run>code>run test environment.
|
||||||
if File.directory?("haml")
|
if File.directory?("haml")
|
||||||
Dir.chdir("haml") do
|
Dir.chdir("haml") do
|
||||||
sh "git", "pull"
|
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"
|
||||||
|
Loading…
Reference in New Issue
Block a user