-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathMakefile
36 lines (28 loc) · 1008 Bytes
/
Makefile
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
34
35
36
TITLE = [cron]
all: install
clean-composer-lock:
@rm -rf composer.lock \
&& /bin/echo -e "${TITLE} deleted composer.lock"
install:
@/bin/echo -e "${TITLE} downloading composer ..." \
&& curl -sS https://getcomposer.org/installer | php \
&& /bin/echo -e "${TITLE} installing dependencies..." \
&& php composer.phar install \
&& /bin/echo -e "${TITLE} dependencies installed"
self-update:
@ /bin/echo -e "${TITLE} running composer self update" \
&& php composer.phar self-update"
test:
@/bin/echo -e "${TITLE} testing suite started..." \
&& vendor/phpunit/phpunit/composer/bin/phpunit -c test/phpunit.xml
test-group:
@/bin/echo -e "${TITLE} testing suite started..." \
&& vendor/phpunit/phpunit/composer/bin/phpunit -c tests/phpunit.xml --group $(g) \
update:
@/bin/echo -e "${TITLE} update dependencies..." \
&& php composer.phar update \
&& /bin/echo -e "${TITLE} dependencies updated"
.PHONY: all
.PHONY: clean-composer-lock
.PHONY: install update self-update
.PHONY: test test-group