Skip to content

Commit 5053047

Browse files
committed
Updated install_all.sh
to create the t3_env
1 parent f5216b7 commit 5053047

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

devtools/install_all.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ make
7979

8080
conda deactivate
8181

82+
# Create or update t3_env
83+
cd ..
84+
cd T3 || { echo "Cannot find T3 directory"; exit 1; }
85+
if { $COMMAND_PKG env list | grep 't3_env'; } >/dev/null 2>&1; then
86+
$COMMAND_PKG env update -n t3_env -f environment.yml
87+
else
88+
$COMMAND_PKG env create -f environment.yml
89+
fi;
90+
8291
# Switch to t3_env and clone/install ARC
8392
if [ "$COMMAND_PKG" == "micromamba" ]; then
8493
micromamba activate t3_env

0 commit comments

Comments
 (0)