From 4bd0ca38ed2cffd2fd114044f8d5538fda6dc854 Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Fri, 24 Jul 2020 20:50:40 -0500 Subject: [PATCH] Added proper gitignore and clang-format --- .clang-format | 10 ++++++++++ .gitignore | 42 +++++++++++++++++++++++++++++++++++++----- 2 files changed, 47 insertions(+), 5 deletions(-) create mode 100644 .clang-format diff --git a/.clang-format b/.clang-format new file mode 100644 index 0000000..11bdfea --- /dev/null +++ b/.clang-format @@ -0,0 +1,10 @@ +--- +BasedOnStyle: LLVM +BreakConstructorInitializersBeforeComma: true +ConstructorInitializerAllOnOneLineOrOnePerLine: true +Cpp11BracedListStyle: true +Standard: Cpp11 +#SpaceBeforeParens: ControlStatements +SpaceAfterControlStatementKeyword: true +PointerBindsToType: true +... diff --git a/.gitignore b/.gitignore index 831c694..176904b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,37 @@ -results/* -data/* -datasets/* -data -calorimeters/test/ +# Compiled Object files +*.slo +*.lo +*.o + +# Compiled Dynamic libraries +*.so +*.dylib + +# Compiled Static libraries +*.lai +*.la +*.a + +# build trees +DEBUG*/* +BUILD*/* +RELEASE*/* +TEST*/* + +# cmake +CMakeCache.txt +CMakeFiles +Makefile +cmake_install.cmake +install_manifest.txt + +# vim +~* +*.swp +*.swo + +# python +__pycache__/ +*.py[cod] +*$py.class +.ipynb_checkpoints -- GitLab