Skip to content
Snippets Groups Projects
Select Git revision
  • analysis
  • master default
  • 6-mrich_changes
  • 5-msts_mmuch_changes
  • 10-unpack_par_mq_macro_changes
  • 11-evt_builder_changes
  • 12-acc_timing_evts
  • 8-mq_changes
  • 9-general_changes
  • to_be_merged
  • 7-mtrd_changes
  • to_be_merged_reordered
  • mMQ
  • mcbm_data_analysis
  • mmuch
  • mbmon
  • fix_geo_tag_history
  • mtof
  • mpsd
  • mrich
  • dev_2021_17
  • RC1_APR21
  • dev_2021_16
  • dev_2021_15
  • dev_2021_14
  • dev_2021_13
  • dev_2021_12
  • dev_2021_11
  • dev_2021_10
  • dev_2021_09
  • dev_2021_08
  • dev_2021_07
  • dev_2021_06
33 results

CTestCustom.cmake

Blame
  • Forked from mCBM / cbmroot
    Source project has a limited visibility.
    apply-format.sh 568 B
    #!/bin/bash
    # Copyright (C) 2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
    # SPDX-License-Identifier: GPL-3.0-only
    # First commited by Florian Uhlig
    
    
    CLANG_FORMAT_BIN=${FAIRROOT_CLANG_FORMAT_BIN:-clang-format}
    
    FILES=$(find . -type f \
            \( -iname "*.h" -o -iname "*.hpp" -o -iname "*.cxx" -o -iname "*.cpp" -o -iname "*.c" -o -iname "*.C" \) \
            -not \( -path "./build/*" -o -path "./cmake/*" -o -path "./external/*" -o -path "./geometry/*" -o -path "./parameters/*" -o -path "./input/*" -prune \))
    
    $CLANG_FORMAT_BIN -i $FILES --verbose