aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-01-22 16:25:33 -0800
committerGravatar Jarred Sumner <jarred@jarredsumner.com> 2022-01-22 16:25:33 -0800
commitd11ac34dcb708de864102fa39fc37a040303b387 (patch)
tree2144d37bd6b58d743ffe0c3cf078ed7ac7d1a405
parent08bc06dfe0e12eedfa443a7f8fc95711848e9813 (diff)
downloadbun-d11ac34dcb708de864102fa39fc37a040303b387.tar.gz
bun-d11ac34dcb708de864102fa39fc37a040303b387.tar.zst
bun-d11ac34dcb708de864102fa39fc37a040303b387.zip
Add a `release-safe` option to Makefile
Diffstat (limited to '')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5b372615a..ee92802a4 100644
--- a/Makefile
+++ b/Makefile
@@ -366,6 +366,9 @@ init-submodules:
build-obj:
$(ZIG) build obj -Drelease-fast
+build-obj-safe:
+ $(ZIG) build obj -Drelease-safe
+
sign-macos-x64:
gon sign.macos-x64.json
@@ -376,6 +379,7 @@ cls:
@echo "\n\n---\n\n"
release: all-js jsc-bindings-mac build-obj cls bun-link-lld-release bun-link-lld-release-dsym release-bin-entitlements
+release-safe: all-js jsc-bindings-mac build-obj-safe cls bun-link-lld-release bun-link-lld-release-dsym release-bin-entitlements
jsc-check:
@ls $(JSC_BASE_DIR) >/dev/null 2>&1 || (echo "Failed to access WebKit build. Please compile the WebKit submodule using the Dockerfile at $(shell pwd)/src/javascript/WebKit/Dockerfile and then copy from /output in the Docker container to $(JSC_BASE_DIR). You can override the directory via JSC_BASE_DIR. \n\n DOCKER_BUILDKIT=1 docker build -t bun-webkit $(shell pwd)/src/javascript/jsc/WebKit -f $(shell pwd)/src/javascript/jsc/WebKit/Dockerfile --progress=plain\n\n docker container create bun-webkit\n\n # Get the container ID\n docker container ls\n\n docker cp DOCKER_CONTAINER_ID_YOU_JUST_FOUND:/output $(JSC_BASE_DIR)" && exit 1)