Move to raspisms dir
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
|
INSTALL_DIR=$(DESTDIR)/opt/raspisms2
|
||||||
ENV=prod
|
ENV=prod
|
||||||
|
@ -8,19 +8,19 @@ all: install
|
||||||
|
|
||||||
|
|
||||||
vendor: composer.phar composer.json
|
vendor: composer.phar composer.json
|
||||||
./composer.phar self-update
|
raspisms/composer.phar self-update
|
||||||
./composer.phar install
|
raspisms/composer.phar install
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
migrate: vendor
|
migrate: vendor
|
||||||
vendor/bin/phinx migrate --environment=$(ENV)
|
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)
|
||||||
cp -a . $(INSTALL_DIR)
|
install -d ./src $(INSTALL_DIR)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -33,5 +33,5 @@ uninstall:
|
||||||
|
|
||||||
|
|
||||||
fix:
|
fix:
|
||||||
tests/php-cs-fixer/run.php fix
|
raspisms/tests/php-cs-fixer/run.php fix
|
||||||
tests/phpstan/run.php analyse
|
raspisms/tests/phpstan/run.php analyse
|
||||||
|
|
Before Width: | Height: | Size: 280 KiB After Width: | Height: | Size: 280 KiB |
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 69 KiB After Width: | Height: | Size: 69 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |