diff options
author | 2021-08-01 11:07:57 +0000 | |
---|---|---|
committer | 2021-08-01 16:37:57 +0530 | |
commit | 419933f6505caf4c5e685f8436b1ff735185e55a (patch) | |
tree | 152dcb9d2b35d29f862cc57a605b9ae2a0f7c300 /scripts | |
parent | Removed duplicated contributors badge. (diff) | |
download | ferdium-app-419933f6505caf4c5e685f8436b1ff735185e55a.tar.gz ferdium-app-419933f6505caf4c5e685f8436b1ff735185e55a.tar.zst ferdium-app-419933f6505caf4c5e685f8436b1ff735185e55a.zip |
Moved 'internal-server' into a sub-folder as opposed to a git submodule. (#1715)
* Ignored tests in 'internal-server' folder since there are none.
* Linter fixes
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/minify-images.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/minify-images.sh b/scripts/minify-images.sh index 25a761f0b..a6ec71045 100755 --- a/scripts/minify-images.sh +++ b/scripts/minify-images.sh | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | # Note: This script is needed due to this bug: https://github.com/imagemin/imagemin/issues/348 | 3 | # Note: This script is needed due to this bug: https://github.com/imagemin/imagemin/issues/348 |
4 | # once the above is fixed, we should simply be able to specify the input directory where all image files are to be processed recursively | 4 | # once the above is fixed, we should simply be able to specify the input directory where all image files are to be processed recursively |
5 | FILES=`find . -name "*.jpg" -o -name "*.jpeg" -o -name "*.bmp" -o -name "*.png" -type f | GREP_OPTIONS= egrep -v "node_modules|internal-server|recipes"` | 5 | FILES=`find . -name "*.jpg" -o -name "*.jpeg" -o -name "*.bmp" -o -name "*.png" -type f | GREP_OPTIONS= egrep -v "node_modules|recipes"` |
6 | for file in $FILES; do | 6 | for file in $FILES; do |
7 | echo "Minifying file: $file" | 7 | echo "Minifying file: $file" |
8 | size_before=`/usr/bin/du $file | cut -f1` | 8 | size_before=`/usr/bin/du $file | cut -f1` |