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:
parent
fbc3f963a4
commit
2cdf6f92c1
3 changed files with 53 additions and 0 deletions
25
scripts/tests/yac
Executable file
25
scripts/tests/yac
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue