mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-07 07:06:26 +02:00
Move to raspisms dir
This commit is contained in:
parent
34a6f7de65
commit
40fccf133c
278 changed files with 109 additions and 2020 deletions
14
Makefile
14
Makefile
|
@ -1,4 +1,4 @@
|
|||
.PHONY: all install composer_install vendor migrate clean fix
|
||||
.PHONY: all install composer_install vendor migrate clean fix:
|
||||
|
||||
INSTALL_DIR=$(DESTDIR)/opt/raspisms2
|
||||
ENV=prod
|
||||
|
@ -8,19 +8,19 @@ all: install
|
|||
|
||||
|
||||
vendor: composer.phar composer.json
|
||||
./composer.phar self-update
|
||||
./composer.phar install
|
||||
raspisms/composer.phar self-update
|
||||
raspisms/composer.phar install
|
||||
|
||||
|
||||
|
||||
migrate: vendor
|
||||
vendor/bin/phinx migrate --environment=$(ENV)
|
||||
raspisms/vendor/bin/phinx migrate --environment=$(ENV)
|
||||
|
||||
|
||||
install: vendor migrate
|
||||
chmod -R 750 .
|
||||
install -m750 -d $(INSTALL_DIR)
|
||||
cp -a . $(INSTALL_DIR)
|
||||
install -d ./src $(INSTALL_DIR)
|
||||
|
||||
|
||||
|
||||
|
@ -33,5 +33,5 @@ uninstall:
|
|||
|
||||
|
||||
fix:
|
||||
tests/php-cs-fixer/run.php fix
|
||||
tests/phpstan/run.php analyse
|
||||
raspisms/tests/php-cs-fixer/run.php fix
|
||||
raspisms/tests/phpstan/run.php analyse
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue