Set MACOSX_DEPLOYMENT_TARGET when running script/bundle

This ensures that every library and binary we build doesn't assume
that it's going to run on the same machine that created it.

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-09-21 17:18:39 +02:00
parent 6dbae3747e
commit 9da7fd22f7

View file

@ -3,6 +3,7 @@
set -e
export ZED_BUNDLE=true
export MACOSX_DEPLOYMENT_TARGET=10.14
echo "Installing cargo bundle"
cargo install cargo-bundle --version 0.5.0