Skip to content

Commit

Permalink
Fix genbindings ci can't commit modified files
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Jan 30, 2024
1 parent fb99773 commit 7838d7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tools/ci/genbindings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Push-Location $AX_ROOT

if ($env:GITHUB_ACTIONS -eq 'true') {
$git_status = "$(git status)"
$no_changes = $git_status.IndexOf('modified:') -eq -1 -or $git_status.IndexOf('deleted:') -eq -1 -or $git_status.IndexOf('Untracked', [StringComparison]::OrdinalIgnoreCase) -eq -1
$no_changes = $git_status.IndexOf('modified:') -eq -1 # -and $git_status.IndexOf('deleted:') -eq -1 -and $git_status.IndexOf('Untracked', [StringComparison]::OrdinalIgnoreCase) -eq -1
if ($no_changes) {
echo "BINDING_NO_CHANGES=true" >> ${env:GITHUB_ENV}
} else {
Expand Down
2 changes: 1 addition & 1 deletion tools/tolua/ax_base.ini
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ classes = New.* Sprite.* Scene Node.* Director Layer.* Menu.* Touch .*Action.* M
# will apply to all class names. This is a convenience wildcard to be able to skip similar named
# functions from all classes.

skip = Node::[setGLServerState description getUserObject .*UserData getGLServerState .*schedule getPosition$ setContentSize setAnchorPoint enumerateChildren getonEnterTransitionDidFinishCallback getOnEnterCallback getOnExitCallback getonExitTransitionDidStartCallback setAdditionalTransform setRotationQuat getRotationQuat sortNodes],
skip = Node::[setGLServerState description _setLocalZOrder getUserObject .*UserData getGLServerState .*schedule getPosition$ setContentSize setAnchorPoint enumerateChildren getonEnterTransitionDidFinishCallback getOnEnterCallback getOnExitCallback getonExitTransitionDidStartCallback setAdditionalTransform setRotationQuat getRotationQuat sortNodes],
Sprite::[getQuad ^setPosition$ ^create$ setPolygonInfo initWithPolygon getPolygonInfo],
SpriteFrame::[setPolygonInfo getPolygonInfo hasPolygonInfo],
SpriteBatchNode::[getDescendants],
Expand Down

0 comments on commit 7838d7f

Please sign in to comment.