Skip to content

Commit

Permalink
added debug echos
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesworth committed Feb 4, 2020
1 parent d6040df commit b7993de
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@
CURRENT_DIR="."
DIR=${1:-$CURRENT_DIR} # Defaults to "."

ls -R

for FILE_EXT in '*.js' '*.css' '*.html'
do
FILES=`find $DIR -type f -path $FILE_EXT`
if [ -z "$FILES" ]
then
echo "no $FILE_EXT files found"
else
echo $FILES | xargs ./brotli -v --
echo $FILES
echo $FILES | xargs /brotli -v --
fi
done

0 comments on commit b7993de

Please sign in to comment.