Update readme, makefile

This commit is contained in:
2024-10-16 18:42:46 +02:00
parent ca61374654
commit ebc6f8e9a6
2 changed files with 11 additions and 10 deletions

View File

@ -1,7 +1,9 @@
.PHONY: jsonedit.phar
jsonedit.phar:
jsonedit.phar: composer
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 .
.PHONY: composer
composer:
test -d vendor || composer install