Merge pull request #2021 from Gottox/xlint-parallel

run xlint parallel
This commit is contained in:
Juan RP 2015-07-15 09:51:07 +02:00
commit 8a24786317
5 changed files with 9 additions and 0 deletions

View File

@ -10,6 +10,7 @@ env:
- PATH=$PATH:$HOME/bin - PATH=$PATH:$HOME/bin
matrix: matrix:
- XLINT=1
- ARCH=x86_64 BOOTSTRAP=x86_64 - ARCH=x86_64 BOOTSTRAP=x86_64
- ARCH=i686 BOOTSTRAP=i686 - ARCH=i686 BOOTSTRAP=i686
- ARCH=armv6hf BOOTSTRAP=x86_64 - ARCH=armv6hf BOOTSTRAP=x86_64

View File

@ -2,4 +2,6 @@
# #
# bootstrap.sh # bootstrap.sh
[ "$XLINT" ] && exit 0
./xbps-src -H $HOME/hostdir binary-bootstrap $1 ./xbps-src -H $HOME/hostdir binary-bootstrap $1

View File

@ -2,6 +2,8 @@
# #
# build.sh # build.sh
[ "$XLINT" ] && exit 0
if [ "$1" != "$2" ]; then if [ "$1" != "$2" ]; then
arch="-a $2" arch="-a $2"
fi fi

View File

@ -2,6 +2,8 @@
# #
# show_files.sh # show_files.sh
[ "$XLINT" ] && exit 0
if [ "$1" != "$2" ]; then if [ "$1" != "$2" ]; then
arch="-a $2" arch="-a $2"
fi fi

View File

@ -2,4 +2,6 @@
# #
# xlint.sh # xlint.sh
[ "$XLINT" ] || exit 0
awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates | xargs xlint awk '{ print "srcpkgs/" $0 "/template" }' /tmp/templates | xargs xlint