1
0
Fork 0
mirror of https://github.com/mlocati/docker-php-extension-installer synced 2025-05-09 00:22:40 +00:00

add support for yac

This commit is contained in:
Laurent Laville 2021-07-17 07:52:10 +02:00 committed by Michele Locati
parent fbc3f963a4
commit 2cdf6f92c1
No known key found for this signature in database
GPG key ID: 98B7CE2E7234E28B
3 changed files with 53 additions and 0 deletions

25
scripts/tests/yac Executable file
View file

@ -0,0 +1,25 @@
#!/bin/sh
set -o errexit
set -o nounset
rc=0
if test -z "$(php --ri yac | grep 'Serializer => .*igbinary')"; then
echo 'yac has not been compiled with Igbinary support' >&2
rc=1
else
echo 'yac has been compiled with Igbinary support'
fi
if test -z "$(php --ri yac | grep 'Serializer => .*json')"; then
echo 'yac has not been compiled with Json support' >&2
rc=1
else
echo 'yac has been compiled with Json support'
fi
if test -z "$(php --ri yac | grep 'Serializer => .*msgpack')"; then
echo 'yac has not been compiled with Msgpack support' >&2
rc=1
else
echo 'yac has been compiled with Msgpack support'
fi
exit $rc