Revision a0418c71

b/dtools/bin/check-tarball-h-files
10 10
path=${tarball%%.tar.gz}
11 11

12 12
tar tzf $tarball  \
13
  | grep -E '\.(h|py|v)$'   \
13
  | grep -E '\.(h|py|v|vh)$'   \
14 14
  | sed -e "s/$path/./"  \
15 15
  | sort >/tmp/tarball-h-files
16 16

17
find . \( -name '*.h' -o -name '*.py' \) -print | grep -v ./$path | sort >/tmp/build-h-files
17
find . \( -name '*.h' -o -name '*.py' -o -name '*.v' -o -name '*.vh' \) -print \
18
  | grep -v ./$path | sort >/tmp/build-h-files
18 19

19 20
comm -23 /tmp/build-h-files /tmp/tarball-h-files
20 21

Also available in: Unified diff