aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-01-31 20:35:12 -0800
committerGravatar GitHub <noreply@github.com> 2023-01-31 20:35:12 -0800
commit696d4b6267500af755f01b67cde3a008963c80e1 (patch)
treef33b37ace87d29a575cf8cf02c9a924522752e74
parentcc4326cd829decc95d1f1f23998f97705637e04b (diff)
downloadbun-696d4b6267500af755f01b67cde3a008963c80e1.tar.gz
bun-696d4b6267500af755f01b67cde3a008963c80e1.tar.zst
bun-696d4b6267500af755f01b67cde3a008963c80e1.zip
Add target for printing version in makefile (#1957)
* Add get-* * Add print-version target * Webkit --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 2dddbed6d..926c0a541 100644
--- a/Makefile
+++ b/Makefile
@@ -509,6 +509,9 @@ npm-install:
$(NPM_CLIENT) install --ignore-scripts --production
print-% : ; @echo $* = $($*)
+get-% : ; @echo $($*)
+print-version:
+ @echo $(PACKAGE_JSON_VERSION)