Skip to content

Commit

Permalink
fix script bash
Browse files Browse the repository at this point in the history
  • Loading branch information
rprat-pro committed Nov 7, 2024
1 parent 25859a7 commit 6e0088f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cpplint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ jobs:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
- run: pip install cpplint
- run: cpplint --recursive src/
- run: cpplint --recursive --extensions=cpp,cxx,hpp,h,hxx --linelength=1000 src/
4 changes: 2 additions & 2 deletions scripts/script-clang-format.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
list=$(find . \( -name "*.h" -o -name "*.cpp" -o -name "*.hpp" -o -name "*.cxx" \))
cmd_list=$(find . \( -name "*.h" -o -name "*.cpp" -o -name "*.hpp" -o -name "*.cxx" \))

for files in "$list"; do
for files in ${cmd_list}; do
echo "$files"
../exaNBody/scripts/code-format.sh "$files"
done
Expand Down

0 comments on commit 6e0088f

Please sign in to comment.