File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Follow the steps below to develop and contribute to the project.
34
34
## Set up
35
35
Before opening the project in an IDE, you'll first need to download and install [ emscripten] :
36
36
``` shell
37
- task emscripten
37
+ task emsdk
38
38
```
39
39
40
40
## Linting
Original file line number Diff line number Diff line change @@ -50,8 +50,13 @@ tasks:
50
50
cmds :
51
51
- " mkdir -p '{{.OUTPUT_DIR}}'"
52
52
- |-
53
- cmake -S "{{.ROOT_DIR}}" -B "{{.OUTPUT_DIR}}" -G "Unix Makefiles"
54
- cmake --build "{{.OUTPUT_DIR}}" --parallel --target "{{.G_CLP_FFI_JS_TARGET_NAME}}"
53
+ cmake \
54
+ -G "Unix Makefiles" \
55
+ -DCMAKE_TOOLCHAIN_FILE="{{.G_EMSDK_DIR}}/upstream/emscripten/cmake/Modules/Platform/\
56
+ Emscripten.cmake" \
57
+ -S "{{.ROOT_DIR}}" \
58
+ -B "{{.OUTPUT_DIR}}"
59
+ - " cmake --build '{{.OUTPUT_DIR}}' --parallel --target '{{.G_CLP_FFI_JS_TARGET_NAME}}'"
55
60
# This command must be last
56
61
- task : " utils:compute-checksum"
57
62
vars :
You can’t perform that action at this time.
0 commit comments