mirror of
https://git.unlock-music.dev/um/web.git
synced 2024-12-29 23:25:02 +08:00
Add README & Global Build Script for WASM
This commit is contained in:
parent
81136dd4f8
commit
ccb4458429
14
README.md
14
README.md
@ -67,6 +67,8 @@ docker run --name unlock-music -d -p 8080:80 ix64/unlock-music
|
||||
|
||||
### 自行构建
|
||||
|
||||
#### JS部分
|
||||
|
||||
- 环境要求
|
||||
- nodejs (v16.x)
|
||||
- npm
|
||||
@ -90,3 +92,15 @@ docker run --name unlock-music -d -p 8080:80 ix64/unlock-music
|
||||
```sh
|
||||
npm run make-extension
|
||||
```
|
||||
|
||||
#### WASM部分
|
||||
|
||||
- 环境要求
|
||||
- Linux
|
||||
- python3
|
||||
|
||||
- 运行此目录下的build-wasm
|
||||
|
||||
```sh
|
||||
bash build-wasm
|
||||
```
|
||||
|
11
build-wasm
Normal file
11
build-wasm
Normal file
@ -0,0 +1,11 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
pushd ./src/QmcWasm
|
||||
bash build-wasm
|
||||
popd
|
||||
|
||||
pushd ./src/QmcWasm
|
||||
bash build-wasm
|
||||
popd
|
Loading…
Reference in New Issue
Block a user