-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* formatting script Squashed commit of the following: commit 1c8e40a7a7d137718abff4dc292b9b0b8f2a3134 Author: Steven Atkinson <steven@atkinson.mn> Date: Sat Mar 25 18:52:42 2023 -0700 Format commit 2cf8cdffca3382c9a19e69e1a6af27f5ed1c5508 Author: Steven Atkinson <steven@atkinson.mn> Date: Sat Mar 25 18:52:14 2023 -0700 format.bash commit 198abd6a08683720829e53c8769e2d8e97bff5ad Author: Steven Atkinson <steven@atkinson.mn> Date: Sat Mar 25 18:51:39 2023 -0700 WAV: ignore bext chunk
- Loading branch information
1 parent
573065e
commit 070811a
Showing
3 changed files
with
60 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/bash | ||
# Apply project formatting (i.e. clang-format with LLVM style) | ||
# | ||
# Usage: | ||
# $ bash format.bash | ||
|
||
echo "Formatting..." | ||
|
||
git ls-files "*.h" "*.cpp" | xargs clang-format --style=llvm -i | ||
|
||
echo "Formatting complete!" | ||
echo "You can stage all of the files using:" | ||
echo "" | ||
echo ' git ls-files "*.h" "*.cpp" | xargs git add' | ||
echo "" |