zed/script/bundle

16 lines
296 B
Plaintext
Raw Normal View History

#!/bin/bash
set -e
2021-04-29 00:22:14 +03:00
pushd zed > /dev/null
cargo bundle --release
2021-04-29 00:22:14 +03:00
popd > /dev/null
hdiutil create -volname Zed -srcfolder target/release/bundle/osx -ov -format UDZO target/release/bundle/Zed.dmg
while getopts o flag
do
case "${flag}" in
2021-04-29 00:22:14 +03:00
o) open target/release/bundle;;
esac
done