File "test-composer-conflict.sh"
Full Path: /home/siazco/grocery.siazco.se/wp-content/plugins/automated-postnord-shipping/controllors/classes/gtrans/vendor/google/gax/dev/sh/test-composer-conflict.sh
File size: 406 bytes
MIME-type: text/x-shellscript
Charset: utf-8
#!/bin/bash
# Try to run `composer install`, with the expectation that it will FAIL!
# This is to test that the 'conflict' clause of the composer.json file
# is correctly blocking installation when an incompatible protobuf
# extension is present.
if composer install ; then
echo "Expected 'composer install' to fail, but it succeeded!"
exit 1
else
echo "'composer install' failed, as expected"
fi