diff --git a/install.sh b/install.sh index 7a0f058..42dc192 100755 --- a/install.sh +++ b/install.sh @@ -4,19 +4,19 @@ install_packages() { if [[ -f /usr/bin/pacman ]]; then sudo pacman -S clang make cmake fltk catch2 - elif [[ -f /usr/bin/apt ]]; then - sudo apt install clang make cmake clang-tidy libfltk1.3 libfltk1.3-dev + elif [[ -f /usr/bin/apt ]]; then + sudo apt install clang make cmake clang-tidy libfltk1.3 libfltk1.3-dev - git clone https://github.com/catchorg/Catch2.git - cd Catch2 - cmake -Bbuild -H. -DBUILD_TESTING=OFF - sudo cmake --build build/ --target install - cd .. + git clone https://github.com/catchorg/Catch2.git + cd Catch2 + cmake -Bbuild -H. -DBUILD_TESTING=OFF + sudo cmake --build build/ --target install + cd .. - elif [[ -f /usr/local/Homebrew ]]; then - sudo brew install llvm clang make cmake clang-format fltk catch2 - - fi + elif [[ -f /usr/local/Homebrew ]]; then + sudo brew install llvm clang make cmake clang-format fltk catch2 + + fi }