jsonedit/Makefile

10 lines
311 B
Makefile
Raw Permalink Normal View History

2024-10-05 14:34:49 +00:00
.PHONY: jsonedit.phar
2024-10-16 16:42:46 +00:00
jsonedit.phar: composer
2024-10-05 14:34:49 +00: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 16:42:46 +00:00
.PHONY: composer
composer:
test -d vendor || composer install