Skip to content

Commit

Permalink
🚑 fix update.sh issue (#14)
Browse files Browse the repository at this point in the history
- empty Assets.xcassets before upgrade

Closed #13
  • Loading branch information
YoRolling authored Mar 19, 2024
1 parent 511f29b commit 2a33eb9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ ICON_ENUM_FILE="Sources/Iconoir/Icon.swift"
TEMP_DIR="temp_icons"

# Create directories if they don't exist
if [ -d "${ASSETS_DIR}" ]; then
echo "${ASSETS_DIR} exists. Clearing it..."
rm -rf "${ASSETS_DIR}"/*
fi
mkdir -p "${ASSETS_DIR}"
mkdir -p "${TEMP_DIR}"

Expand Down

0 comments on commit 2a33eb9

Please sign in to comment.