Skip to content

Commit

Permalink
bin/pack.sh: fail fast if dist folder is missing
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrueden committed Feb 3, 2024
1 parent 460189e commit 6c62092
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cd "$(dirname "$0")/.."
echo
echo -e "\033[1;33m[pack]\033[0m"

test -d dist || { echo "[ERROR] No dist folder; please run bin/dist.sh first." 1>&2; exit 1; }

# Download upx as needed, if available for the current platform.
if [ ! -d .upx ]
then
Expand Down

0 comments on commit 6c62092

Please sign in to comment.