2022-06-26 11:45:45 +03:00
|
|
|
#!/bin/bash
|
|
|
|
set -Eeuo pipefail
|
|
|
|
|
2022-06-26 20:47:23 +03:00
|
|
|
readonly notarize=${notarize:?"true or false"}
|
2022-06-26 11:45:45 +03:00
|
|
|
readonly use_carthage_cache=${use_carthage_cache:?"true or false"}
|
|
|
|
readonly clean=${clean:?"true or false"}
|
|
|
|
|
|
|
|
main () {
|
|
|
|
pushd "$(dirname "${BASH_SOURCE[0]}")/.." >/dev/null
|
|
|
|
echo "### Building VimR nightly"
|
|
|
|
|
2022-06-26 20:47:23 +03:00
|
|
|
./bin/build_vimr.sh
|
2022-06-26 11:45:45 +03:00
|
|
|
|
2022-06-26 20:47:23 +03:00
|
|
|
local -r build_path="./build"
|
2022-06-26 12:16:22 +03:00
|
|
|
pushd "${build_path}/Build/Products/Release" >/dev/null
|
|
|
|
tar cjf "VimR-neovim-nightly-unsigned.tar.bz2" VimR.app
|
|
|
|
echo "### VimR nightly packaged to ${build_path}/Build/Products/ReleaseVimR-neovim-nightly-unsigned.tar.bz2"
|
|
|
|
popd >/dev/null
|
|
|
|
|
|
|
|
echo "### Built VimR nightly"
|
2022-06-26 11:45:45 +03:00
|
|
|
popd >/dev/null
|
|
|
|
}
|
|
|
|
|
|
|
|
main
|