forked from XmacsLabs/mogan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[32_7] Build and test kernel L3 on wasm
Co-authored-by: 沈浪熊猫儿 <[email protected]>
- Loading branch information
Showing
2 changed files
with
75 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env elvish | ||
|
||
use platform | ||
|
||
|
||
var pkg_info = (xrepo fetch --json emscripten | from-json) | ||
var emsdk_path = $pkg_info[0][artifacts][installdir] | ||
set-env EMSDK $emsdk_path | ||
|
||
|
||
if $platform:is-windows { | ||
set-env EMSDK_NODE $emsdk_path/node/16.20.0_64bit/bin/node.exe | ||
} elif $platform:is-unix { | ||
set-env EMSDK_NODE $emsdk_path/node/16.20.0_64bit/bin/node | ||
} | ||
|
||
|
||
xmake run commute_test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters