mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-04-16 23:36:54 -04:00
```
find $PWD \
-type f \
! -path '*/.git/*' ! -path '*/flatpak/shared-modules/*' \
! -path '*/libraries/*' ! -path '*/testdata/*' ! -name '*.patch' \
! -name '*.svg' ! -name '*.scd' ! -path '*/program_info/LICENSE' \
! -path '*/COPYING.md' ! -path '*/cmake/*' ! -name '.gitmodules' \
-exec eclint -fix {} \;
```
Signed-off-by: Seth Flynn <getchoo@tuta.io>
10 lines
327 B
Bash
Executable File
10 lines
327 B
Bash
Executable File
#!/bin/sh
|
|
|
|
## If current working dirctory is ./scripts, ask to invoke from one directory up
|
|
if [ ! -d "scripts" ]; then
|
|
echo "Please run this script from the root directory of the project"
|
|
exit 1
|
|
fi
|
|
|
|
find . -type f -name '*.png' -not -path '*/libraries/*' -exec oxipng --opt max --strip all --alpha --interlace 0 {} \;
|