File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed
.agents/skills/compile-php-wasm Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -13,24 +13,32 @@ modules in the WordPress Playground repository.
1313## Quick Reference
1414
1515``` bash
16- # Recompile main module — specific version + platform + mode
16+ ` ` ` bash
17+ # Recompile a specific version for ALL platforms and modes (web+node, jspi+asyncify)
18+ npx nx recompile-php:all php-wasm-web -- --PHP_VERSION=8.5
19+ npx nx recompile-php:all php-wasm-node -- --PHP_VERSION=8.5
20+
21+ # Recompile a specific version + platform + single mode
1722npx nx recompile-php:jspi php-wasm-web -- --PHP_VERSION=8.5
23+ npx nx recompile-php:asyncify php-wasm-web -- --PHP_VERSION=8.5
24+ npx nx recompile-php:jspi php-wasm-node -- --PHP_VERSION=8.5
1825npx nx recompile-php:asyncify php-wasm-node -- --PHP_VERSION=8.5
1926
2027# Recompile all PHP versions for a platform
2128npm run recompile:php:web
2229npm run recompile:php:node
2330
2431# Debug build (DWARF info)
32+ npx nx recompile-php:all php-wasm-web -- --WITH_DEBUG=yes
2533npx nx recompile-php:all php-wasm-node -- --WITH_DEBUG=yes
2634
2735# Source maps
36+ npx nx recompile-php:all php-wasm-web -- --WITH_SOURCEMAPS=yes
2837npx nx recompile-php:all php-wasm-node -- --WITH_SOURCEMAPS=yes
2938
3039# Reset caches before rebuilding
3140node node_modules/.bin/nx reset
3241docker rmi php-wasm:latest
33- ```
3442
3543# # Build Pipeline Overview
3644
You can’t perform that action at this time.
0 commit comments