summaryrefslogtreecommitdiffstats
path: root/vendor/ringcentral/psr7/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/ringcentral/psr7/Makefile')
-rw-r--r--vendor/ringcentral/psr7/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/vendor/ringcentral/psr7/Makefile b/vendor/ringcentral/psr7/Makefile
new file mode 100644
index 0000000..73a5c5b
--- /dev/null
+++ b/vendor/ringcentral/psr7/Makefile
@@ -0,0 +1,21 @@
+all: clean test
+
+test:
+ vendor/bin/phpunit $(TEST)
+
+coverage:
+ vendor/bin/phpunit --coverage-html=artifacts/coverage $(TEST)
+
+view-coverage:
+ open artifacts/coverage/index.html
+
+clean:
+ rm -rf artifacts/*
+
+.PHONY: docker-login
+docker-login:
+ docker run -t -i -v $(shell pwd):/opt/psr7 ringcentral-psr7 /bin/bash
+
+.PHONY: docker-build
+docker-build:
+ docker build -t ringcentral-psr7 . \ No newline at end of file