File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+
3+ set -e
4+
25(find api_search -name " *.cpp" && find include -name " *.hpp" && find examples -name " *.cpp" && find test -name " *.cpp" ) | xargs clang-format -i {}
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -e
4+
35# Central script called by the CI
46# Usage:
57# ci.sh {run_build|run_tests}
@@ -17,7 +19,7 @@ if [[ "$OSTYPE" == "msys" || "$OSTYPE" == "cygwin" ]]; then
1719 # Windows path handling is a never ending source of ...
1820 INSTALL_PREFIX=" $USERPROFILE \\ .local"
1921 INSTALL_PREFIX=$( cygpath -u " $INSTALL_PREFIX " ) # Make CMake happy when using git bash under windows
20- export CMAKE_PREFIX_PATH=$ INSTALL_PREFIX; $ CMAKE_PREFIX_PATH # Notice the ";" instead of ":"
22+ export CMAKE_PREFIX_PATH=" ${ INSTALL_PREFIX}${CMAKE_PREFIX_PATH : +; ${ CMAKE_PREFIX_PATH} } " # Notice the ";" instead of ":"
2123else
2224 INSTALL_PREFIX=" $HOME /.local"
2325 export CMAKE_PREFIX_PATH=$INSTALL_PREFIX :$CMAKE_PREFIX_PATH
Original file line number Diff line number Diff line change 11#! /bin/bash
22
3+ set -e
4+
35apt-get update
46apt-get install -y git
You can’t perform that action at this time.
0 commit comments