From 52a138c812c9e3c00f6fe7fae8a25bbcbd5817d9 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Fri, 4 Feb 2011 15:26:28 +0100 Subject: Use 'git ls-files' for updating the Qt Creator project list of files Conveniently avoids including any generated files in the list. --- update-creator.sh | 14 ++++++-------- 1 file 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 -- cgit v1.2.3-70-g09d2