1
1
mirror of https://github.com/qvacua/vimr.git synced 2024-12-26 07:13:24 +03:00
vimr/bin/clean_old_builds.sh

17 lines
350 B
Bash
Raw Normal View History

2016-10-14 13:15:32 +03:00
#!/bin/bash
2019-12-22 23:45:42 +03:00
set -Eeuo pipefail
2016-10-18 19:00:15 +03:00
2016-10-14 13:15:32 +03:00
echo "### Cleaning old builds"
2019-12-22 23:45:42 +03:00
pushd "$( dirname "${BASH_SOURCE[0]}" )/.." > /dev/null
2016-10-14 13:15:32 +03:00
rm -rf build
2019-12-22 23:45:42 +03:00
xcodebuild -workspace VimR.xcworkspace -derivedDataPath build -scheme VimR clean
2016-10-14 13:15:32 +03:00
2019-12-22 23:45:42 +03:00
pushd NvimView/neovim > /dev/null
rm -rf build
make distclean
popd > /dev/null
2016-10-14 13:15:32 +03:00
2019-12-22 23:45:42 +03:00
popd > /dev/null
2016-10-14 13:15:32 +03:00
echo "### Cleaned old builds"