diff options
author | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-02-04 15:26:28 +0100 |
---|---|---|
committer | Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | 2011-02-21 21:52:56 +0100 |
commit | 52a138c812c9e3c00f6fe7fae8a25bbcbd5817d9 (patch) | |
tree | c0a1c69d183fa0bdd1f8539aedeeb0035a1bd113 /update-creator.sh | |
parent | 0e08e285b2d32e1d4e86b26e64141230e8e85397 (diff) | |
download | mana-52a138c812c9e3c00f6fe7fae8a25bbcbd5817d9.tar.gz mana-52a138c812c9e3c00f6fe7fae8a25bbcbd5817d9.tar.bz2 mana-52a138c812c9e3c00f6fe7fae8a25bbcbd5817d9.tar.xz mana-52a138c812c9e3c00f6fe7fae8a25bbcbd5817d9.zip |
Use 'git ls-files' for updating the Qt Creator project list of files
Conveniently avoids including any generated files in the list.
Diffstat (limited to 'update-creator.sh')
-rwxr-xr-x | update-creator.sh | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/update-creator.sh b/update-creator.sh index 6acb8522..fa6534e1 100755 --- a/update-creator.sh +++ b/update-creator.sh @@ -1,9 +1,7 @@ #!/bin/sh -find \( -name \*.cpp \ - -o -name \*.h \ - -o -name \*.txt \ - -o -name \*.xml \ - -o -name \*.mana \ - \) ! -wholename \*/CMakeFiles/\* \ - ! -name CMakeCache.txt \ - | sort > mana.files +git ls-files \*.cpp \ + \*.h \ + \*.txt \ + \*.xml \ + \*.mana \ + > mana.files |