From 5f95fab43301f54b6928341686d5f2ca273e996e Mon Sep 17 00:00:00 2001 From: Davey Shafik Date: Sat, 8 Oct 2016 00:42:59 -0700 Subject: [PATCH] Confirm phar runs correctly after build --- tools/build-phar.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tools/build-phar.sh b/tools/build-phar.sh index 556095c..8819b4a 100755 --- a/tools/build-phar.sh +++ b/tools/build-phar.sh @@ -41,4 +41,13 @@ file_put_contents('build/phar/stub.php', \$stub);" > build/phar/bootstrap.php php -dphar.readonly=0 ./vendor/bin/box build -mv akamai-open-edgegrid-client.phar "akamai-open-edgegrid-client${VERSION}.phar" \ No newline at end of file +mv akamai-open-edgegrid-client.phar "akamai-open-edgegrid-client${VERSION}.phar" + +php "akamai-open-edgegrid-client${VERSION}.phar" + +echo " test.php +echo "Running test.php"; +php test.php +rm test.php \ No newline at end of file