File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,9 +25,11 @@ const emscripten = pkg.emscripten;
2525dotenv . config ( { path : "./.perspectiverc" , quiet : true } ) ;
2626
2727function base ( ) {
28- return path . resolve ( getWorkspaceRoot ( ) , ".emsdk" ) ;
28+ return path . resolve ( getWorkspaceRoot ( ) , ".emsdk" ) . replace ( / \\ / g , "\\" ) ;
2929}
3030
31+ console . error ( "Absolute path" , base ( ) ) ;
32+
3133function emsdk_checkout ( ) {
3234 $ . sync `git clone https://github.com/emscripten-core/emsdk.git ${ base ( ) } ` ;
3335}
Original file line number Diff line number Diff line change @@ -31,12 +31,15 @@ const memoize = (f) => {
3131export function getWorkspaceRoot ( ) {
3232 return workspaceRoot ;
3333}
34+
3435export function getRustTargetDir ( ) {
3536 return rustTargetDir ;
3637}
38+
3739export function getRustWheelsDir ( ) {
3840 return rustWheelsDir ;
3941}
42+
4043export function getEmscriptenWheelPath ( ) {
4144 const pspVersion = getWorkspacePackageJson ( ) . version . replace ( "-" , "." ) ;
4245 const wheeljunk = "cp311-abi3-emscripten_4_0_9_wasm32" ;
@@ -45,6 +48,7 @@ export function getEmscriptenWheelPath() {
4548 `perspective_python-${ pspVersion } -${ wheeljunk } .whl` ,
4649 ) ;
4750}
51+
4852/**
4953 * @returns memoized, deserialized contents of workspace package.json
5054 */
You can’t perform that action at this time.
0 commit comments