Browse Source

For CI - also clean the tolua++ host tool build tree before retrying.
[skip appveyor] [ci only: master]

Yao Wei Tjong 姚伟忠 7 years ago
parent
commit
1c449f4b45
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Rakefile

+ 1 - 0
Rakefile

@@ -373,6 +373,7 @@ task :ci do
     success = false
     if ENV['TRAVIS'] && !ENV['XCODE'] && !already_timeup && !timeup(true, 10)
       # The build cache could be corrupted, so clear the cache and retry one more time
+      system "cd #{ENV['build_tree']}/Source/Urho3D/tolua++-prefix/src/tolua++-build && make clean"
       success = system "ccache -Cz && rake make clean_first #{redirect}"
     end
     unless success