first commit

This commit is contained in:
2024-11-10 21:08:49 +01:00
commit 0d932ce5ee
14455 changed files with 2567501 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
PHP ?= '7.2'
UP ?= 1
DOWN ?= 1
docs:
wget http://apigen.org/apigen.phar
chmod +x apigen.phar
php apigen.phar generate --source=src --destination=docs --template-theme=bootstrap
rm apigen.phar
image:
docker build -t matthiasmullie/minify .
up:
docker-compose up -d $(PHP)
down:
docker-compose stop -t0 $(PHP)
test:
[ $(UP) -eq 1 ] && make up || true
$(eval cmd='docker-compose run $(PHP) vendor/bin/phpunit')
eval $(cmd); status=$$?; [ $(DOWN) -eq 1 ] && make down; exit $$status