瀏覽代碼

For Travis CI - stash push and pop silently.
[ci only: master, Annotate]

Yao Wei Tjong 姚伟忠 10 年之前
父節點
當前提交
e5ab1a939f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Rakefile

+ 2 - 2
Rakefile

@@ -197,8 +197,8 @@ end
 # Usage: NOT intended to be used manually
 # Usage: NOT intended to be used manually
 desc 'Build and run the annotate migration tool'
 desc 'Build and run the annotate migration tool'
 task :ci_annotate do
 task :ci_annotate do
-  system 'rake cmake URHO3D_CLANG_TOOLS=1 && rake make annotate' or abort 'Failed to annotate'
-  system "git config user.name $GIT_NAME && git config user.email $GIT_EMAIL && git remote set-url --push origin https://[email protected]/$TRAVIS_REPO_SLUG.git && if git fetch origin annotated:annotated 2>/dev/null; then git push -qf origin --delete annotated; fi && git checkout -B annotated && git stash && git reset --hard HEAD~ && git stash pop && git add -A Source/Urho3D && git commit -qm 'Result of annotate rake task. [ci skip]' && git push -qf -u origin annotated >/dev/null 2>&1" or abort 'Failed to push annotated branch'
+  system 'rake cmake URHO3D_CLANG_TOOLS=1 URHO3D_CLANG_TOOLS_ALL_GRAPHICS_BACKENDS=1 && rake make annotate' or abort 'Failed to annotate'
+  system "git config user.name $GIT_NAME && git config user.email $GIT_EMAIL && git remote set-url --push origin https://[email protected]/$TRAVIS_REPO_SLUG.git && if git fetch origin annotated:annotated 2>/dev/null; then git push -qf origin --delete annotated; fi && git checkout -B annotated && git stash -q && git reset --hard HEAD~ && git stash pop -q && git add -A Source/Urho3D && git commit -qm 'Result of annotate rake task. [ci skip]' && git push -qf -u origin annotated >/dev/null 2>&1" or abort 'Failed to push annotated branch'
 end
 end
 
 
 # Usage: NOT intended to be used manually (if you insist then try: rake ci)
 # Usage: NOT intended to be used manually (if you insist then try: rake ci)