File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -61,14 +61,16 @@ depends-on = ["setup-wasm"]
6161outputs = [" dist/" ]
6262inputs = [" pixi.lock" , " files/" ]
6363
64+
6465[target .linux-64 .tasks .patch-xpython ]
6566cmd = " sed -i 's/jsArg.replace(\"\\ *\" ,\"\" )/jsArg.replaceAll(\"\\ *\" ,\"\" )/g' './dist/xeus/bin/xpython.js'"
6667
6768[target .osx-arm64 .tasks .patch-xpython ]
6869cmd = " sed -i '' 's/jsArg.replace(\"\\ *\" ,\"\" )/jsArg.replaceAll(\"\\ *\" ,\"\" )/g' ./dist/xeus/bin/xpython.js"
6970
7071[feature .host .tasks .copy-roslib ]
71- cmd = " cp roslib.js ./dist && cp pre.js ./dist"
72+ cmd = " cp roslib.js ./dist/$EXTENSION_FOLDER && cp pre.js ./dist/$EXTENSION_FOLDER"
73+ env = {EXTENSION_FOLDER =" extensions/@jupyterlite/xeus-extension/static" }
7274
7375# serve the jupyterlite app with a "simple server"
7476[feature .host .tasks .start ]
You can’t perform that action at this time.
0 commit comments