b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / dev2.destoffenstraat.com / vendor / ezimuel / ringphp /
Filename/home/dev2.destoffenstraat.com/vendor/ezimuel/ringphp/Makefile
Size899
Permissionrw-r--r--
Ownerroot : root
Create time17-Aug-2025 10:26
Last modified07-Dec-2022 12:28
Last accessed21-Aug-2025 14:38
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
all: clean coverage docs

docs:
cd docs && make html

view-docs:
open docs/_build/html/index.html

start-server: stop-server
node tests/Client/server.js &> /dev/null &

stop-server:
@PID=$(shell ps axo pid,command \
| grep 'tests/Client/server.js' \
| grep -v grep \
| cut -f 1 -d " "\
) && [ -n "$$PID" ] && kill $$PID || true

test: start-server
vendor/bin/phpunit $(TEST)
$(MAKE) stop-server

coverage: start-server
vendor/bin/phpunit --coverage-html=build/artifacts/coverage $(TEST)
$(MAKE) stop-server

view-coverage:
open build/artifacts/coverage/index.html

clean:
rm -rf build/artifacts/*
cd docs && make clean

tag:
$(if $(TAG),,$(error TAG is not defined. Pass via "make tag TAG=4.2.1"))
@echo Tagging $(TAG)
chag update -m '$(TAG) ()'
git add -A
git commit -m '$(TAG) release'
chag tag

perf: start-server
php tests/perf.php
$(MAKE) stop-server

.PHONY: docs