Skip to content

Commit

Permalink
Merge pull request #447 from NilsIrl/clang-format
Browse files Browse the repository at this point in the history
Install clang-format
  • Loading branch information
alepauly authored Mar 9, 2020
2 parents 6b03ec0 + db34108 commit 106b634
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions images/linux/scripts/installers/clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function InstallClang {
apt-get install -y "clang-$version" "lldb-$version" "lld-$version"
else
./llvm.sh $version
apt-get install -y "clang-format-$version"
fi

# Run tests to determine that the software installed as expected
Expand Down Expand Up @@ -59,3 +60,4 @@ rm llvm.sh
# Make Clang 9 default
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-9 100
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-9 100
update-alternatives --install /usr/bin/clang-format clang-format /usr/bin/clang-format-9 100

0 comments on commit 106b634

Please sign in to comment.