jsonedit/Makefile

10 lines
311 B
Makefile
Raw Normal View History

2024-10-05 16:34:49 +02:00
.PHONY: jsonedit.phar
2024-10-16 18:42:46 +02:00
jsonedit.phar: composer
2024-10-05 16:34:49 +02:00
echo "<?php return [ 'version' => \"v$(shell git describe --tags)\", 'builddate' => \"$(shell LC_ALL=C date)\" ];" > src/build.php \
&& box compile \
&& rm src/build.php \
&& mv bin/jsonedit.phar .
2024-10-16 18:42:46 +02:00
.PHONY: composer
composer:
test -d vendor || composer install