Commit 6e8e42c7 authored by aroben's avatar aroben

* Scripts/find-included-framework-headers: Search Obj-C and Obj-C++

        files as well.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 0a96fe5f
2007-04-17 Adam Roben <aroben@apple.com>
* Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
files as well.
2007-04-17 Adam Roben <aroben@apple.com>
Added a simple shell script to find all the headers from a specified
......
#!/bin/sh
FILE_EXTENSIONS_TO_SEARCH="cpp h m mm"
for framework in $*; do
echo -e "\n$framework\n=================="
for ext in cpp h; do
find . -name "*.$ext" -exec grep $framework {} ';' | grep include | sed -e 's|.*/\(.*\.h\).*|\1|'
for ext in ${FILE_EXTENSIONS_TO_SEARCH}; do
find . -name "*.$ext" -exec grep $framework {} ';' | grep '\(include\|import\)' | sed -e 's|.*/\(.*\.h\).*|\1|'
done | sort | uniq
done
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment