mirror of
https://github.com/mas-cli/mas
synced 2024-11-22 03:23:08 +00:00
36d40d99d7
Partial #638 Signed-off-by: Ross Goldberg <484615+rgoldberg@users.noreply.github.com>
20 lines
406 B
Bash
Executable file
20 lines
406 B
Bash
Executable file
#!/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"
|
|
|
|
script/clean
|
|
script/build --universal
|
|
script/package
|