Copyright 2015-2018 Jonas Juselius [email protected]. Licensed under MPL v2.0.
You will need C++, C and Fortran compilers, plus a working Python interpreter. You can get the Python dependencies using Pipenv:
pipenv install
pipenv shell
- We use
clang-format
for C and C++git ls-files C | xargs clang-format -i git ls-files C++ | xargs clang-format -i
- We use
yapf
for Pythongit ls-files Python | xargs yapf -i
- We use
fprettify
for Fortrangit ls-files Fortran | xargs fprettify -i 2
You can install Git hooks to keep in check formatting and licensing headers:
cd .git/hooks
cp --symbolic-link ../../.githooks/* .
From the top-level directory run:
doxygen