-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 683 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 683 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
.PHONY: clean install ci-install test test-integ test-docker bundle
clean:
@rm -rf vendor composer.lock
install: clean
ifdef GIT_HUB_TOKEN
composer config -g github-oauth.github.com $(GIT_HUB_TOKEN)
endif
composer install
ifeq ($(dependencies), lowest)
composer update --prefer-lowest --prefer-stable -n
endif
ci-install: clean
composer install --no-dev
test:
vendor/bin/phpunit Tests
test-integ: test
vendor/bin/phpunit Tests
version ?= latest
test-docker:
curl -s https://raw.githubusercontent.com/sendgrid/sendgrid-oai/HEAD/prism/prism.sh -o prism.sh
dependencies=lowest version=$(version) bash ./prism.sh
dependencies=highest version=$(version) bash ./prism.sh