summaryrefslogtreecommitdiff
path: root/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/scripts/package.sh
diff options
context:
space:
mode:
Diffstat (limited to 'Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/scripts/package.sh')
-rwxr-xr-xPostman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/scripts/package.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/scripts/package.sh b/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/scripts/package.sh
new file mode 100755
index 0000000..6d23743
--- /dev/null
+++ b/Postman/Postman-Mail/sendgrid/vendor/sendgrid/sendgrid/scripts/package.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+rm -rf vendor composer.lock
+composer install --no-dev
+printf "<?php\nrequire __DIR__ . '/vendor/autoload.php';\n?>" > sendgrid-php.php
+cd ..
+zip -r sendgrid-php.zip sendgrid-php -x \*.git\* \*composer.json\* \*scripts\* \*test\* \*.travis.yml\* \*prism\*
+
+exit 0