fuck debian packages

This commit is contained in:
osaajani 2020-02-18 04:58:34 +01:00
parent 1ebe732690
commit cfe09ce116
1 changed files with 8 additions and 9 deletions

View File

@ -7,25 +7,24 @@ ENV=prod
all: install all: install
vendor: composer.phar composer.json vendor: raspisms/composer.phar raspisms/composer.json
raspisms/composer.phar self-update cd raspisms && ./composer.phar self-update
raspisms/composer.phar install cd raspisms && ./composer.phar install
migrate: vendor migrate: vendor
raspisms/vendor/bin/phinx migrate --environment=$(ENV) cd raspisms && ./vendor/bin/phinx migrate --environment=$(ENV)
install: vendor migrate install: vendor migrate
chmod -R 750 . chmod -R 750 .
install -m750 -d $(INSTALL_DIR) install -m750 -d $(INSTALL_DIR)
install -d ./src $(INSTALL_DIR) cp -Tr raspisms $(INSTALL_DIR)
clean: clean:
rm -rf vendor/
uninstall: uninstall:
@ -33,5 +32,5 @@ uninstall:
fix: fix:
raspisms/tests/php-cs-fixer/run.php fix cd raspisms && ./tests/php-cs-fixer/run.php fix
raspisms/tests/phpstan/run.php analyse cd raspisms && ./tests/phpstan/run.php analyse