Add locale Makefile and allow building mo files

This commit is contained in:
jo 2021-10-15 00:23:45 +02:00
parent a070e4a4c3
commit f7494cab7d
2 changed files with 41 additions and 1 deletions

View file

@ -1,12 +1,18 @@
SHELL = bash
all: vendor
all: vendor locale-build
PHP-CS-FIXER = tools/vendor/bin/php-cs-fixer
$(PHP-CS-FIXER):
mkdir -p tools
composer require --working-dir=tools friendsofphp/php-cs-fixer
include locale/Makefile
locale-update: .locale-update
locale-build:
$(MAKE) -C locale build
vendor:
composer install --no-progress --no-interaction $(COMPOSER_ARGS)