Imported code from old repository

This commit is contained in:
lukas committed 2022-11-17 11:48:29 +01:00
1 parent 14dfa45240
commit 0e4ab60d77
31 files changed
+6486 -253

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
.PHONY: all
all: vendor build
composer.lock: composer.json
# Updating Dependencies with Composer
composer update -o
vendor: composer.lock
# Installing Dependencies with Composer
composer install -o
sami.phar:
# Get a copy of sami (only on PHP 7)
@if [ `php -v | awk '{ if ($$1 == "PHP") { print substr($$2,0,1) }}'` = "7" ]; then\
wget http://get.sensiolabs.org/sami.phar;\
fi
build: sami.phar
# Building documentation with sami.phar (only on PHP 7)
@if [ `php -v | awk '{ if ($$1 == "PHP") { print substr($$2,0,1) }}'` = "7" ]; then\
php sami.phar update sami-config.php --force;\
fi