jsonedit/Makefile

8 lines
241 B
Makefile

.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 .