File: generate_refs.sh

package info (click to toggle)
cairo 1.12.2-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 100,404 kB
  • sloc: ansic: 226,667; xml: 16,073; sh: 12,046; cpp: 3,725; cs: 1,763; makefile: 1,070; python: 155; awk: 86
file content (12 lines) | stat: -rwxr-xr-x 338 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# A very simple script. But sufficient, hopefully, for our current purposes.

cat <<EOF
# Note REFERENCE_IMAGES must be in lexicographical order.
# Use generate_refs.sh on a git checkout with updated images.
REFERENCE_IMAGES = \\
EOF

git ls-files 'reference/*.ref.png' '*.xfail.png' | sed 's/\(.*\)/	\1 \\/'
echo '	$(NULL)'