jsb classes apply decorator from .ts source files (#14403)

* decorator parser
* remove used variable
This commit is contained in:
江战
2023-03-07 10:34:50 +08:00
committed by GitHub
parent a6684b18c9
commit b2bb2bf559
31 changed files with 3327 additions and 701 deletions
+12
View File
@@ -14,6 +14,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Generate decorators
run: |
npm install
cd scripts/build-engine
npm install
npm install @babel/types @babel/traverse @babel/generator
npm run build
cd ../..
node .github/workflows/gen_decorators.js
cd scripts/build-engine
git checkout HEAD . # revert all changes within build-engine/
- name: Download external libraries
run: |
EXT_VERSION=`node ./.github/workflows/get-native-external-version.js`