mirror of
https://github.com/zulip/zulip.git
synced 2025-10-30 19:43:47 +00:00
9 lines
297 B
Bash
Executable File
9 lines
297 B
Bash
Executable File
#!/bin/bash
|
|
# Hackish tool for attempting to find unused IDs / classes in our CSS
|
|
|
|
for n in $(perl -lne 'print $1 while /[#.]([a-zA-Z0-9_-]+)/g' static/styles/zulip.css | sort -u); do
|
|
if [ $(git grep "$n" | grep -v '^static/styles/zulip.css' | wc -l) -eq 0 ]; then
|
|
echo $n
|
|
fi
|
|
done
|