mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-28 23:25:11 +03:00
16 lines
296 B
Bash
Executable File
16 lines
296 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
pushd zed > /dev/null
|
|
cargo bundle --release
|
|
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
|
|
o) open target/release/bundle;;
|
|
esac
|
|
done
|