Skip to content

Commit 7d1744e

Browse files
committed
Revert "Clean up conf.py"
This reverts commit b2f3ed5.
1 parent 8dbcb90 commit 7d1744e

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/source/conf.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,15 @@
1212
cd ../../;
1313
curl -L https://micro.mamba.pm/api/micromamba/linux-64/latest | tar -xvj bin/micromamba;
1414
export PATH="$PWD/bin:$PATH";
15+
export MAMBA_EXE="$PWD/bin/micromamba";
1516
export MAMBA_ROOT_PREFIX="/home/docs/checkouts/readthedocs.org/user_builds/xeus-cpp/conda/";
16-
eval $(micromamba shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)";
17+
__mamba_setup="$("$MAMBA_EXE" shell hook --shell bash --root-prefix "$MAMBA_ROOT_PREFIX" 2> /dev/null)";
18+
eval "$__mamba_setup";
19+
alias micromamba="$MAMBA_EXE";
1720
micromamba create -f environment-wasm-build.yml -y;
1821
micromamba activate xeus-cpp-wasm-build;
1922
micromamba create -f environment-wasm-host.yml --platform=emscripten-wasm32;
20-
mkdir build;
23+
mkdir -p build;
2124
cd build;
2225
export BUILD_PREFIX=$MAMBA_ROOT_PREFIX/xeus-cpp-wasm-build;
2326
export PREFIX=$MAMBA_ROOT_PREFIX/xeus-cpp-wasm-host;

0 commit comments

Comments
 (0)