From cfe09ce116a6866bed75ea58b30970bbdc607092 Mon Sep 17 00:00:00 2001 From: osaajani Date: Tue, 18 Feb 2020 04:58:34 +0100 Subject: [PATCH] fuck debian packages --- Makefile | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index 991b120..0d310a2 100755 --- a/Makefile +++ b/Makefile @@ -7,25 +7,24 @@ ENV=prod all: install -vendor: composer.phar composer.json - raspisms/composer.phar self-update - raspisms/composer.phar install +vendor: raspisms/composer.phar raspisms/composer.json + cd raspisms && ./composer.phar self-update + cd raspisms && ./composer.phar install migrate: vendor - raspisms/vendor/bin/phinx migrate --environment=$(ENV) + cd raspisms && ./vendor/bin/phinx migrate --environment=$(ENV) install: vendor migrate chmod -R 750 . - install -m750 -d $(INSTALL_DIR) - install -d ./src $(INSTALL_DIR) + install -m750 -d $(INSTALL_DIR) + cp -Tr raspisms $(INSTALL_DIR) clean: - rm -rf vendor/ uninstall: @@ -33,5 +32,5 @@ uninstall: fix: - raspisms/tests/php-cs-fixer/run.php fix - raspisms/tests/phpstan/run.php analyse + cd raspisms && ./tests/php-cs-fixer/run.php fix + cd raspisms && ./tests/phpstan/run.php analyse