Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
1 contributor

Users who have contributed to this file

executable file 17 lines (12 sloc) 284 Bytes
#!/usr/bin/env bash
# building
cbindgen src/lib.rs -l c > rustylib.h
cargo lipo --release
# moving files to the ios project
inc=../ios/include
libs=../ios/libs
rm -rf ${inc} ${libs}
mkdir ${inc}
mkdir ${libs}
cp rustylib.h ${inc}
cp target/universal/release/librustylib.a ${libs}
You can’t perform that action at this time.