Page MenuHomeWickedGov Phorge

Makefile
No OneTemporary

Size
744 B
Referenced Files
None
Subscribers
None

Makefile

.PHONY: help all clean test rebuild
CLDR_CORE_URL=https://www.unicode.org/Public/cldr/47/core.zip
help:
@echo "'make all' to download CLDR data and rebuild files."
@echo "'make test' to run the phpunit tests"
@echo "'make clean' to delete the generated LanguageNames*.php files."
@echo "'make distclean' to delete the CLDR data."
all: rebuild
distclean:
rm -f core.zip
rm -rf core
clean:
rm -f CldrCurrency/CldrCurrency[A-Z]*.php CldrMain/CldrMain[A-Z]*.php CldrSupplemental/CldrSupplemental[A-Z]*.php
test:
php ${MW_INSTALL_PATH}/tests/phpunit/phpunit.php tests
rebuild: core/
php rebuild.php
core/: core.zip
unzip core.zip -d core
core.zip:
curl -C - -O $(CLDR_CORE_URL) || wget $(CLDR_CORE_URL) || fetch $(CLDR_CORE_URL)

File Metadata

Mime Type
text/x-makefile
Expires
Mon, Nov 23, 22:10 (6 d, 13 h ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
88/fd/4ad94d094943527684015f829d16
Default Alt Text
Makefile (744 B)

Event Timeline