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)
|
- nodejs (v16.x)
|
||||||
- npm
|
- npm
|
||||||
@ -90,3 +92,15 @@ docker run --name unlock-music -d -p 8080:80 ix64/unlock-music
|
|||||||
```sh
|
```sh
|
||||||
npm run make-extension
|
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