Added Astaroth 2.0

This commit is contained in:
jpekkila
2019-06-14 14:18:35 +03:00
parent 4e4f84c8ff
commit 0e48766a68
87 changed files with 18058 additions and 1 deletions

9
scripts/fix_style.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
if [[ $1 == "DO" && $2 == "IT!" ]]; then
find -name \*.h -o -name \*.cc -o -name \*.cu -o -name \*.cuh | xargs clang-format-6.0 -i -style=file
echo "It is done."
else
find -name \*.h -o -name \*.cc -o -name \*.cu -o -name \*.cuh
echo "I'm going to try to fix the style of these files."
echo "If you're absolutely sure, give \"DO IT!\" (without quotes) as a parameter."
fi