Add script/bundle, which creates a macOS app bundle

This commit is contained in:
Nathan Sobo 2021-04-28 15:02:02 -06:00
parent 3d739b6621
commit 898271edfb
5 changed files with 805 additions and 57 deletions

14
script/bundle Executable file
View file

@ -0,0 +1,14 @@
#!/bin/bash
set -e
pushd zed
cargo bundle --release
popd
while getopts o flag
do
case "${flag}" in
o) open target/release/bundle/osx;;
esac
done