File tree 6 files changed +29
-12
lines changed
6 files changed +29
-12
lines changed Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+
3
+ export INSTALL_DOCS=true
4
+ export INSTALL_ROS=true
5
+ export INSTALL_ARDUINO=true
6
+ export INSTALL_WEB=true
7
+ export INSTALL_PYTHON=true
8
+ export INSTALL_JUPYTER=true
9
+ export EXPIRE_PASSWD=true
10
+ export INSTALL_NETWORK=true
11
+ export INSTALL_PROVISIONING=false
12
+ export INSTALL_VSCODE=true
13
+ export INSTALL_PAM=true
14
+ export EXTRA_SCRIPTS=(
15
+ # "testExtra.sh"
16
+ # "testExtra2.sh"
17
+ )
18
+ export PARALLEL=true
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ set -xe
3
3
MIRTE_SRC_DIR=/usr/local/src/mirte
4
4
5
5
# Install dependencies
6
- $UPDATE || sudo apt install -y git curl binutils libusb-1.0-0
6
+ sudo apt install -y git curl binutils libusb-1.0-0
7
7
ls -alh $MIRTE_SRC_DIR
8
8
pip3 install -U platformio
9
- $UPDATE || echo " export PATH=$PATH :/home/mirte/.local/bin" > /home/mirte/.bashrc
9
+ echo " export PATH=$PATH :/home/mirte/.local/bin" > /home/mirte/.bashrc
10
10
export PATH=$PATH :/home/mirte/.local/bin
11
- $UPDATE || curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
11
+ curl -fsSL https://raw.githubusercontent.com/platformio/platformio-core/develop/platformio/assets/system/99-platformio-udev.rules | sudo tee /etc/udev/rules.d/99-platformio-udev.rules
12
12
13
- $UPDATE || mkdir -p /home/mirte/Arduino/Telemetrix4Arduino
13
+ mkdir -p /home/mirte/Arduino/Telemetrix4Arduino
14
14
ls $MIRTE_SRC_DIR /mirte-telemetrix4arduino -al
15
- $UPDATE || ln -s $MIRTE_SRC_DIR /mirte-telemetrix4arduino /home/mirte/Arduino/Telemetrix4Arduino || true
15
+ ln -s $MIRTE_SRC_DIR /mirte-telemetrix4arduino /home/mirte/Arduino/Telemetrix4Arduino || true
16
16
cd $MIRTE_SRC_DIR /mirte-telemetrix4arduino || exit
17
17
pio run -e robotdyn_blackpill_f303cc -e nanoatmega328new -e nanoatmega328
18
18
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
3
cd $MIRTE_SRC_DIR /mirte-documentation || exit
4
- $UPDATE || sudo apt install -y python3.8-venv libenchant-dev
5
- $UPDATE || python3 -m venv docs-env
4
+ sudo apt install -y python3.8-venv libenchant-dev
5
+ python3 -m venv docs-env
6
6
source docs-env/bin/activate
7
7
pip install -r requirements.txt
8
- $UPDATE || mkdir -p _modules/catkin_ws/src
8
+ mkdir -p _modules/catkin_ws/src
9
9
cd _modules || exit
10
10
ls
11
- $UPDATE || ln -s $MIRTE_SRC_DIR /mirte-python .
11
+ ln -s $MIRTE_SRC_DIR /mirte-python .
12
12
ls
13
13
cd mirte-python || exit
14
14
pip install .
Original file line number Diff line number Diff line change 3
3
MIRTE_SRC_DIR=/usr/local/src/mirte
4
4
5
5
# install basic python tools
6
- $UPDATE || sudo apt install -y python3 python3-venv python3-dev git libffi-dev
6
+ sudo apt install -y python3 python3-venv python3-dev git libffi-dev
7
7
8
8
# create and activate virtualenv
9
9
# Due to a build error on numpy we need to install numpy and
Original file line number Diff line number Diff line change 2
2
set -xe
3
3
4
4
MIRTE_SRC_DIR=/usr/local/src/mirte
5
- export UPDATE=false
6
5
. $MIRTE_SRC_DIR /settings.sh || (
7
6
export INSTALL_DOCS=true
8
7
export INSTALL_ROS=true
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ MIRTE_SRC_DIR=/usr/local/src/mirte
6
6
sudo apt update
7
7
8
8
# Install nodeenv
9
- $UPDATE || sudo apt install -y python3-pip python3-setuptools python3-wheel
9
+ sudo apt install -y python3-pip python3-setuptools python3-wheel
10
10
sudo -H pip install nodeenv
11
11
12
12
# Install nodeenv
You can’t perform that action at this time.
0 commit comments