jsonedit/Makefile

8 lines
241 B
Makefile
Raw Normal View History

2024-10-05 14:34:49 +00:00
.PHONY: jsonedit.phar
jsonedit.phar:
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 .