mirror of https://github.com/axmolengine/axmol.git
Regular expression fix for generate-jsbindings.sh.
This commit is contained in:
parent
1d932ae95f
commit
72d6f8650b
|
@ -78,7 +78,7 @@ git config user.name ${GH_USER}
|
||||||
git remote add upstream https://${GH_USER}:${GH_PASSWORD}@github.com/cocos2d-x/bindings-auto-generated.git 2> /dev/null > /dev/null
|
git remote add upstream https://${GH_USER}:${GH_PASSWORD}@github.com/cocos2d-x/bindings-auto-generated.git 2> /dev/null > /dev/null
|
||||||
|
|
||||||
echo "Delete all directories and files except '.git' and 'README.md'."
|
echo "Delete all directories and files except '.git' and 'README.md'."
|
||||||
ls -a | grep -E -v ^\[.\]\{1,2\}$ | grep -E -v ^\.git$ | grep -E -v ^README.md$ | xargs -I{} rm -rf {}
|
ls -a | grep -E -v ^\[.\]\{1,2\}$ | grep -E -v ^\.git$ | grep -E -v ^README\.md$ | xargs -I{} rm -rf {}
|
||||||
echo "Show files in ${GENERATED_WORKTREE} folder."
|
echo "Show files in ${GENERATED_WORKTREE} folder."
|
||||||
ls -a
|
ls -a
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue