Skip to content

Commit

Permalink
refactored generate_bindings.sh
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Belloni <christianbelloni@Christians-Laptop.local>
  • Loading branch information
Christian Belloni authored and Christian Belloni committed Oct 10, 2024
1 parent 152d956 commit 8f6f737
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions generate_bindings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,9 @@ GEN_DIR="dotnet-tests/UniffiCS/gen"
rm -rf "$GEN_DIR"
mkdir -p "$GEN_DIR"

osname=$(uname)

libname=""

if [[ "$osname" == "Darwin" ]]; then
if [[ $(uname) == "Darwin" ]]; then
libname="libuniffi_fixtures.dylib"
else
libname="libuniffi_fixtures.so"
Expand Down

0 comments on commit 8f6f737

Please sign in to comment.