diff options
-rw-r--r-- | .github/workflows/javascript-bindings.yml | 48 | ||||
-rwxr-xr-x | tool/sync_default_gems.rb | 1 |
2 files changed, 1 insertions, 48 deletions
diff --git a/.github/workflows/javascript-bindings.yml b/.github/workflows/javascript-bindings.yml deleted file mode 100644 index c381b4d5c6..0000000000 --- a/.github/workflows/javascript-bindings.yml +++ /dev/null @@ -1,48 +0,0 @@ -name: JavaScript Bindings - -on: - push: - paths: - - ".github/workflows/javascript-bindings.yml" - - "include/" - - "src/" - - "*akefile*" - branches: - - main - pull_request: - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: head - bundler-cache: true - - - name: rake templates - run: bundle exec rake templates - - - name: Set up WASI-SDK - run: | - wget https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-20/wasi-sdk-20.0-linux.tar.gz - tar xvf wasi-sdk-20.0-linux.tar.gz - - - name: Build the project - run: make wasm WASI_SDK_PATH=$(pwd)/wasi-sdk-20.0 - - - uses: actions/setup-node@v3 - with: - node-version: 20.x - - - name: Run the tests - run: npm test - working-directory: javascript - - - uses: actions/upload-artifact@v3 - with: - name: prism.wasm - path: javascript/src/prism.wasm diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb index 02e73b254a..89cc9b510b 100755 --- a/tool/sync_default_gems.rb +++ b/tool/sync_default_gems.rb @@ -411,6 +411,7 @@ module SyncDefaultGems cp_r("#{upstream}/config.yml", "prism/") cp_r("#{upstream}/templates", "prism/") + rm_rf("prism/templates/javascript") rm_rf("prism/templates/java") rm("prism/extconf.rb") |