mas/script/clean

18 lines
299 B
Text
Raw Normal View History

2015-09-20 10:23:36 +00:00
#!/bin/bash -e
#
# script/clean
# mas
#
2021-04-28 21:49:54 +00:00
# Deletes the build directory.
#
2015-09-20 10:23:36 +00:00
mas_dir="$(readlink -fn "$(dirname "${BASH_SOURCE:-"${0}"}")/..")"
if ! cd -- "${mas_dir}"; then
printf $'Error: Could not cd into mas directory: %s\n' "${mas_dir}" >&2
exit 1
fi
2021-05-07 18:38:36 +00:00
swift package clean
swift package reset