Makefile 471 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
COMPOSER=php composer.phar

all: test

composer.phar:
	curl -sS https://getcomposer.org/installer | php

install-composer-deps: composer.phar
	$(COMPOSER) install

update-composer: composer.phar
	rm -f composer.lock
	$(COMPOSER) install --prefer-dist

clean-composer-deps:
	rm -f composer.phar
	rm -Rf vendor/*

clean-test-results:
	rm -rf output

clean: clean-test-results clean-composer-deps

test: install-composer-deps
25
	OC_TEST_ALT_HOME=$(OC_TEST_ALT_HOME) ./run.sh
26