10 lines
337 B
Bash
Executable File
10 lines
337 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Webserver apps directory should be short -- apps that fail this category should become their own.
|
|
|
|
for file in `find roles/WebServer/files/apps -type f`; do
|
|
if [[ $(wc -l "$file" | awk '{ print $1; }') -gt 10 ]]; then
|
|
echo "$file" is too long to be deployed as a mini-app under the WebServer role.
|
|
fi
|
|
done
|