This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
论坛
实训
竞赛
大数据
AI开发
Register
Sign In
EESAST
/
THUAI6
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
3
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
chore(shell): exclude players code in format script
dev
Timothy Liu
GitHub
2 years ago
parent
5755b2bcb7
commit
81e480773a
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
19 additions
and
17 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+19
-17
dependency/shell/format.sh
+ 19
- 17
dependency/shell/format.sh
View File
@@ -4,23 +4,25 @@ cd ../..
for i in {1..3}
do
find . -iname "*.c" \
-or -iname "*.h" \
-or -iname "*.C" \
-or -iname "*.H" \
-or -iname "*.cpp" \
-or -iname "*.hpp" \
-or -iname "*.cc" \
-or -iname "*.hh" \
-or -iname "*.c++" \
-or -iname "*.h++" \
-or -iname "*.cxx" \
-or -iname "*.hxx" \
-or -iname "*.i" \
-or -iname "*.ixx" \
-or -iname "*.ipp" \
-or -iname "*.i++" \
| xargs clang-format -i
find . \
-not -path "./players/*" -and \( \
-iname "*.c" \
-or -iname "*.h" \
-or -iname "*.C" \
-or -iname "*.H" \
-or -iname "*.cpp" \
-or -iname "*.hpp" \
-or -iname "*.cc" \
-or -iname "*.hh" \
-or -iname "*.c++" \
-or -iname "*.h++" \
-or -iname "*.cxx" \
-or -iname "*.hxx" \
-or -iname "*.i" \
-or -iname "*.ixx" \
-or -iname "*.ipp" \
-or -iname "*.i++" \
\) | xargs clang-format -i
done
pushd logic && dotnet format && popd
Write
Preview
Loading…
Cancel
Save