-
Notifications
You must be signed in to change notification settings - Fork 504
Expand file tree
/
Copy pathgetBuildToolsApt
More file actions
executable file
·35 lines (29 loc) · 1.04 KB
/
getBuildToolsApt
File metadata and controls
executable file
·35 lines (29 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#!/bin/sh
# This shell script automates getting the required build tools (apt install)
# set the shell environment variable 'UNATTENDED' to '--assume-yes' for
# unattended use (for example in the .travis.yml script)
echo ""
echo "-------------------------------------------------------------------"
echo "INSTALLING Build Tools (using APT)"
echo " (UNATTENDED: [$UNATTENDED])"
echo "-------------------------------------------------------------------"
echo ""
set -ev
sudo apt-get update
sudo apt-get $UNATTENDED install \
sudo \
wget \
git \
pkg-config \
ruby \
autoconf \
libtool \
cmake \
make \
gcc \
g++ \
dpkg \
dpkg-dev \
gettext \
openjdk-17-jre-headless \
jq