-
Notifications
You must be signed in to change notification settings - Fork 19
/
Makefile
49 lines (40 loc) · 1.18 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
.PHONY: install
install:
composer install
.PHONY: build
build:
@rm -rf vendor build
@mkdir build
@git archive --worktree-attributes --format=tar --prefix=wp-social-bookmarking-light/ HEAD | (cd build && tar xf -)
@composer install --no-dev
@cp -r ./vendor ./build/wp-social-bookmarking-light/vendor
.PHONY: test
test:
./vendor/bin/phpunit src
docker/up: build
@make -s -C ./dockerfiles up
docker/stop:
@make -s -C ./dockerfiles stop
docker/up-wp47-php56: build
@make -s -C ./dockerfiles up-wp47-php56
docker/stop-wp47-php56:
@make -s -C ./dockerfiles stop-wp47-php56
docker/up-wp47-php71: build
@make -s -C ./dockerfiles up-wp47-php71
docker/stop-wp47-php71:
@make -s -C ./dockerfiles stop-wp47-php71
docker/up-wp46-php56: build
@make -s -C ./dockerfiles up-wp46-php56
docker/stop-wp46-php56:
@make -s -C ./dockerfiles stop-wp46-php56
docker/up-wp48-php53: build
@make -s -C ./dockerfiles/php53 up
docker/stop-wp48-php53:
@make -s -C ./dockerfiles/php53 stop
docker/restart-wp48-php53:
@make docker/stop-wp48-php53
@make docker/up-wp48-php53
docker/up-wp48-php56: build
@make -s -C ./dockerfiles up-wp48-php56
docker/stop-wp48-php56:
@make -s -C ./dockerfiles stop-wp48-php56