- #!/bin/sh
- # Part of Zombie Navigator
- # Copyright © 2015 Zombie Navigator Developers
- dir="`dirname "$0"`"
- cd "$dir"
- find src/ -name '*.js' -exec sh -c "printf '\n%s: \n' "'"$1"'" ; grep 'require(' "'"$1"'" | sed 's/^.*require(\([^)]*\)).*$/\1/' | sort | uniq" -- {} \;
- # vim: ts=4 noet ai
|