Skip to content

Commit

Permalink
Fix script error when ran the first time (#90)
Browse files Browse the repository at this point in the history
## ๐ŸŽŸ๏ธ Tracking

<!-- Paste the link to the Jira or GitHub issue or otherwise describe /
point to where this change is coming from. -->

## ๐Ÿ“” Objective

The `rm -r ` commands would fail if those files don't exist, so the
first run of the command would immediately fail

## โฐ Reminders before review

- Contributor guidelines followed
- All formatters and local linters executed and passed
- Written new unit and / or integration tests where applicable
- Protected functional changes with optionality (feature flags)
- Used internationalization (i18n) for all UI strings
- CI builds passed
- Communicated to DevOps any deployment requirements
- Updated any necessary documentation (Confluence, contributing docs) or
informed the documentation
  team

## ๐Ÿฆฎ Reviewer guidelines

<!-- Suggested interactions but feel free to use (or not) as you desire!
-->

- ๐Ÿ‘ (`:+1:`) or similar for great changes
- ๐Ÿ“ (`:memo:`) or โ„น๏ธ (`:information_source:`) for notes or general info
- โ“ (`:question:`) for questions
- ๐Ÿค” (`:thinking:`) or ๐Ÿ’ญ (`:thought_balloon:`) for more open inquiry
that's not quite a confirmed
  issue and could potentially benefit from discussion
- ๐ŸŽจ (`:art:`) for suggestions / improvements
- โŒ (`:x:`) or โš ๏ธ (`:warning:`) for more significant problems or
concerns needing attention
- ๐ŸŒฑ (`:seedling:`) or โ™ป๏ธ (`:recycle:`) for future improvements or
indications of technical debt
- โ› (`:pick:`) for minor or nitpick changes
  • Loading branch information
dani-garcia authored Dec 19, 2024
1 parent f197d30 commit 2fbc5ba
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions crates/bitwarden-uniffi/swift/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,9 @@ cd "$(dirname "$0")"
# Generate an xcframework for the Swift bindings.

# Cleanup dirs
rm -r BitwardenFFI.xcframework
rm -r tmp
rm -rf BitwardenFFI.xcframework
rm -rf tmp

mkdir tmp
mkdir -p tmp/target/universal-ios-sim/release

# Build native library
Expand Down Expand Up @@ -49,4 +48,4 @@ xcodebuild -create-xcframework \
-output ./BitwardenFFI.xcframework

# Cleanup temporary files
rm -r tmp
rm -rf tmp

0 comments on commit 2fbc5ba

Please sign in to comment.