forked from ringcentral/ringcentral-php
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (26 loc) · 611 Bytes
/
Makefile
File metadata and controls
33 lines (26 loc) · 611 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
.PHONY: test
test:
./vendor/bin/phpunit --configuration ./phpunit.xml
.PHONY: phar
phar:
php ./create-phar.php ${args}
# Use "make phar args=develop" to build phar on develop branch
.PHONY: all
all:
make test
make phar
.PHONY: install
install:
composer install --prefer-source --no-interaction
.PHONY: coveralls
coveralls:
./vendor/bin/coveralls -v
.PHONY: docker-shell
docker-shell:
eval "$(boot2docker shellinit)"
.PHONY: docker-login
docker-login:
docker run -t -i -v $(shell pwd):/opt/sdk ringcentral-php-sdk /bin/bash
.PHONY: docker-build
docker-build:
docker build -t ringcentral-php-sdk .