From 6d348fa759db7aa459d2b33549e8c798a1daecdb Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 22 May 2025 21:48:22 -0700 Subject: [PATCH] Add glob sources workflow (#19860) --- .github/workflows/glob-sources.yml | 41 ++++++++++++++++++++++++++++++ cmake/sources/ZigSources.txt | 2 -- 2 files changed, 41 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/glob-sources.yml diff --git a/.github/workflows/glob-sources.yml b/.github/workflows/glob-sources.yml new file mode 100644 index 0000000000..1c2db82544 --- /dev/null +++ b/.github/workflows/glob-sources.yml @@ -0,0 +1,41 @@ +name: Glob Sources + +permissions: + contents: write + +on: + workflow_call: + workflow_dispatch: + pull_request: + +env: + BUN_VERSION: "1.2.11" + +jobs: + glob-sources: + name: Glob Sources + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Configure Git + run: | + git config --global core.autocrlf true + git config --global core.ignorecase true + git config --global core.precomposeUnicode true + - name: Setup Bun + uses: ./.github/actions/setup-bun + with: + bun-version: ${{ env.BUN_VERSION }} + - name: Setup Dependencies + run: | + bun install + - name: Glob sources + run: bun scripts/glob-sources.mjs + - name: Commit + uses: stefanzweifel/git-auto-commit-action@v5 + with: + commit_message: "`bun scripts/glob-sources.mjs`" + diff --git a/cmake/sources/ZigSources.txt b/cmake/sources/ZigSources.txt index 67f070d5d0..e4b714ee1f 100644 --- a/cmake/sources/ZigSources.txt +++ b/cmake/sources/ZigSources.txt @@ -86,8 +86,6 @@ src/bun.js/bindings/Exception.zig src/bun.js/bindings/FetchHeaders.zig src/bun.js/bindings/FFI.zig src/bun.js/bindings/generated_classes_list.zig -src/bun.js/bindings/GeneratedBindings.zig -src/bun.js/bindings/GeneratedJS2Native.zig src/bun.js/bindings/GetterSetter.zig src/bun.js/bindings/HTTPServerAgent.zig src/bun.js/bindings/JSArray.zig