Add makefile, cli options

This commit is contained in:
noccy committed 2024-10-05 16:34:49 +02:00
1 parent 62c78fa14c
commit eb09b4698f
3 files changed
+76 -17

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
.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 .