Skip to content

Commit 77c406b

Browse files
committed
fix vscode install
1 parent 85d3a74 commit 77c406b

1 file changed

Lines changed: 12 additions & 6 deletions

File tree

install_mirte.sh

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ fi
4040
cp repos.yaml $MIRTE_SRC_DIR
4141
cp download_repos.sh $MIRTE_SRC_DIR || true
4242
cd $MIRTE_SRC_DIR || exit 1
43-
./download_repos.sh
43+
. ./download_repos.sh
4444

45-
# Install dependecnies to be able to run python3.8
45+
# Install dependencies to be able to run python3.8
4646
sudo apt install -y python3.8 python3-pip python3-setuptools
4747
pip3 install setuptools --upgrade
4848
# Set piwheels as pip repo
@@ -112,6 +112,16 @@ if ! $PARALLEL; then
112112
wait
113113
fi
114114

115+
if $INSTALL_VSCODE; then
116+
{
117+
. ./install_vscode.sh || exit 1
118+
echo "done VSCode"
119+
} 2>&1 | sed -u 's/^/vscode::: /' &
120+
fi
121+
if ! $PARALLEL; then
122+
wait
123+
fi
124+
115125
if $INSTALL_DOCS; then
116126

117127
# Install Mirte documentation
@@ -156,10 +166,6 @@ fi
156166
pip3 install numpy
157167

158168
. ./install_bt.sh || exit 1
159-
. ./install_pico.sh || exit 1
160-
161-
162-
. ./install_vscode.sh || exit 1
163169

164170
# install audio support to use with mirte-pioneer pcb and orange pi zero 2
165171
sudo apt install pulseaudio libasound2-dev libespeak1 -y

0 commit comments

Comments
 (0)