• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:pretty

34 set -euxo pipefail
38 echo 'Installing pretty tools useful for code contributions...'
40 # add clang-format and clang-tidy for pretty
41 …sudo apt-get --no-install-recommends install -y clang-format-9 clang-tidy-9 || echo 'WARNING: coul…
43 # add yapf for pretty
44 …python3 -m pip install yapf==0.31.0 || echo 'WARNING: could not install yapf, which is useful if y…
47 …python3 -m pip install mdv || echo 'WARNING: could not install mdv, which is required to post mark…
49 …# add shfmt for shell pretty, try brew only because snap does not support home directory not being…
50 …command -v shfmt || brew install shfmt || echo 'WARNING: could not install shfmt, which is useful …
57 # apt-get update and install dependencies
58 sudo apt-get update
59 …sudo apt-get --no-install-recommends install -y automake g++ libtool lsb-release make cmake ninja-
63 PLATFORM=$(lsb_release -is)
67 …apt-get --no-install-recommends install -y binutils-arm-none-eabi gcc-arm-none-eabi gdb-arm-none-e…
69 sudo apt-get --no-install-recommends install -y ca-certificates wget
71--tries 4 --no-check-certificate --quiet -c https://developer.arm.com/-/media/Files/downloads/gnu-
72 && sudo tar xjf gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 -C /opt \
73 && rm gcc-arm-none-eabi-9-2020-q2-update-"$ARCH"-linux.tar.bz2 \
74 && sudo ln -s -f /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/* /usr/local/bin/.)
102 brew tap ArmMbed/homebrew-formulae
103 brew install armmbed/formulae/arm-none-eabi-gcc
106 if ! command -v gcc; then
111 echo 'Installing pretty tools useful for code contributions...'
113 # add clang-format for pretty
114 CLANG_FORMAT_VERSION="clang-format version 9"
115 …command -v clang-format-9 || (command -v clang-format && (clang-format --version | grep -q "${CLAN…
117 sudo ln -s "$(brew --prefix llvm@9)/bin/clang-format" /usr/local/bin/clang-format-9
120 # add yapf for pretty
121 …python3 -m pip install yapf || echo 'Failed to install python code formatter yapf. Install it manu…
132 if command -v apt-get; then
134 elif command -v rpm; then
136 elif command -v opkg; then
138 elif command -v brew; then