-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
Makefile
57 lines (46 loc) · 1.58 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
49
50
51
52
53
54
55
56
57
build:
composer install
.PHONY: build
test:
vendor/bin/codecept run
.PHONY: test
clean:
rm -rf vendor composer.lock var
mkdir -p var
.PHONY: clean
clean_tmp:
rm -rf var/_output var/_tmp
rm -f var/_output/tmp/_monkeypatch var/_output/tmp/*.sqlite var/_output/tmp/*.sqlite_snapshot
.PHONY: clean_tmp
update_core_phpunit_includes:
bin/update_core_phpunit_includes
.PHONY: update_core_phpunit_includes
package: update_core_phpunit_includes test
bin/gitattributes-update
.PHONY: package
update_sqlite_plugin:
bin/update_sqlite_plugin
.PHONY: update_sqlite_plugin
docs_serve:
mkdocs serve -a 0.0.0.0:8000
docs_api_update:
php bin/extract-api.php "lucatume\WPBrowser\Module\WPBrowser" "docs/modules/WPBrowser.md"
php bin/extract-api.php "lucatume\WPBrowser\Module\WPCLI" "docs/modules/WPCLI.md"
php bin/extract-api.php "lucatume\WPBrowser\Module\WPDb" "docs/modules/WPDb.md"
php bin/extract-api.php "lucatume\WPBrowser\Module\WPFilesystem" "docs/modules/WPFilesystem.md"
php bin/extract-api.php "lucatume\WPBrowser\Module\WPLoader" "docs/modules/WPLoader.md"
php bin/extract-api.php "lucatume\WPBrowser\Module\WPQueries" "docs/modules/WPQueries.md"
php bin/extract-api.php "lucatume\WPBrowser\Module\WPWebDriver" "docs/modules/WPWebDriver.md"
.PHONY: docs_api_update
wordpress_install:
php bin/setup-wp.php
clean_procs:
pgrep -f 'php -S' | xargs kill
-pkill -9 -f chromedriver
-pkill -9 -f mysqld
rm -f var/_output/*.pid var/_output/*.running
set -o allexport && source tests/.env && set +o allexport && docker compose down
.PHONY: clean_procs
build_35:
bin/build_35.sh
.PHONY: build_35