]> wimlib.net Git - wimlib/blob - tools/make-releases
Use -Wall -Werror when compiling releases
[wimlib] / tools / make-releases
1 #!/bin/bash
2
3 set -e
4
5 MAKE="make -j$(grep -c processor /proc/cpuinfo)"
6
7 export CFLAGS="-O2 -Wall -Werror"
8
9 ./configure && $MAKE distcheck
10
11 # Recompress with 7-Zip
12 gzfile=$(ls wimlib-*.tar.gz | tail -1)
13 tarfile=${gzfile%.gz}
14 gunzip $gzfile
15 7z -mx9 a $gzfile $tarfile
16 rm -f $tarfile
17
18 for arch in i686 x86_64; do
19         ./tools/make-windows-release $arch
20 done