Commit 91a52d8
committed
refactor: extract web host runtime and pack it explicitly
Move the host-side web runtime assets into `internal/webruntime/host`
so their ownership is separated from `cmd/ispx` and from platform
templates under `cmd/gox/template/platform`.
Update the web export flow to assemble runtime assets explicitly from
the engine template, embedded host assets, `ispx.wasm`, and
`wasm_exec.js` instead of staging host files through `$GOPATH/bin/ispx`.
Add `packwebruntime` to build release bundles directly and replace the
temporary empty-project export hack in `make_util.sh`.
Also remove XBuilder-specific branding from shared runtime-facing titles
so the base web runtime stays product-neutral.
Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>1 parent e6b5c4c commit 91a52d8
21 files changed
Lines changed: 1012 additions & 789 deletions
File tree
- cmd
- gox
- pkg
- command
- pack
- template/platform
- webminiprogram
- web
- ispx/web
- internal
- core/project
- tools
- webruntime
- host
- static
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | 58 | | |
66 | 59 | | |
67 | 60 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
50 | 51 | | |
51 | 52 | | |
52 | 53 | | |
53 | | - | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| 197 | + | |
197 | 198 | | |
198 | 199 | | |
199 | 200 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | | - | |
259 | | - | |
260 | 250 | | |
261 | 251 | | |
262 | 252 | | |
| |||
0 commit comments