cleanup identation
This commit is contained in:
parent
7a7bbf12c7
commit
ceed96b0d7
20
install.sh
20
install.sh
@ -4,19 +4,19 @@ install_packages() {
|
|||||||
if [[ -f /usr/bin/pacman ]]; then
|
if [[ -f /usr/bin/pacman ]]; then
|
||||||
sudo pacman -S clang make cmake fltk catch2
|
sudo pacman -S clang make cmake fltk catch2
|
||||||
|
|
||||||
elif [[ -f /usr/bin/apt ]]; then
|
elif [[ -f /usr/bin/apt ]]; then
|
||||||
sudo apt install clang make cmake clang-tidy libfltk1.3 libfltk1.3-dev
|
sudo apt install clang make cmake clang-tidy libfltk1.3 libfltk1.3-dev
|
||||||
|
|
||||||
git clone https://github.com/catchorg/Catch2.git
|
git clone https://github.com/catchorg/Catch2.git
|
||||||
cd Catch2
|
cd Catch2
|
||||||
cmake -Bbuild -H. -DBUILD_TESTING=OFF
|
cmake -Bbuild -H. -DBUILD_TESTING=OFF
|
||||||
sudo cmake --build build/ --target install
|
sudo cmake --build build/ --target install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
elif [[ -f /usr/local/Homebrew ]]; then
|
elif [[ -f /usr/local/Homebrew ]]; then
|
||||||
sudo brew install llvm clang make cmake clang-format fltk catch2
|
sudo brew install llvm clang make cmake clang-format fltk catch2
|
||||||
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user