Add locale Makefile and allow building mo files
This commit is contained in:
parent
a070e4a4c3
commit
f7494cab7d
2 changed files with 41 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue