File: DW-pre-commit

package info (click to toggle)
genometools 1.5.9%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 52,392 kB
  • ctags: 29,663
  • sloc: ansic: 346,757; ruby: 28,351; python: 4,880; sh: 3,135; makefile: 1,186; perl: 219; haskell: 37; sed: 5
file content (10 lines) | stat: -rwxr-xr-x 359 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh

# copy this file to .git/hooks (i.e., overwrite the file .git/hooks/pre-commit)
# to perform source checks before commits

. $PWD/scripts/pre-commit

[ $? -eq 0 ] && make -j4 cairo=no CFLAGS+=-fstrict-aliasing opt=no 64bit=yes CC='ccache clang -fcolor-diagnostics'

[ $? -eq 0 ] && make cairo=no CFLAGS+=-fstrict-aliasing opt=no 64bit=yes -j4 sbgt