mas/script/build_artifacts

21 lines
406 B
Text
Raw Permalink Normal View History

2020-09-07 15:26:13 +00:00
#!/bin/bash -e
#
# script/build_artifacts
# mas
#
# Runs all related scripts for generating all artifacts.
#
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
echo "==> 👑 Building mas $(script/version) artifacts"
2020-09-07 15:26:13 +00:00
script/clean
2021-05-07 18:33:39 +00:00
script/build --universal
2020-09-07 15:26:13 +00:00
script/package