mirror of
https://github.com/gorules/zen.git
synced 2026-10-04 16:02:18 +00:00
Huge thanks to: Lars Werkman <lars@bitvavo.com> * feat: add support for kotlin bindings * chore: build kotlin bindings version * build: add proper lib dir for jna * chore: rename kotlin directory to uniffi * update kotlin files * update kotlin * fix workflow * fix workflow * fix * fix upload path * fix * fix * fix fmt * fix * fix * fix * fix * fix * fix * fix * fix charset * fix * fix * fix * fix * update env variables * fix * add pipelines for release * debug * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix * fix build * add javadoc * improve bindings * feat: separate artifact for java and kotlin source code * feat: add custom JsonBuffer type with fromString and toString abbilities * fix workflows * fix pipeline * fix gradle * fix: java bindings * update java * include kotlin in publish; bump version * fix release * fix * fix publication * fix missing dep * fix dep chain * add expression compilation * bump version * improve performance * improve expression api * fix: restore interfaces * cleanup and add preliminary csharp support * prepare for release --------- Co-authored-by: Lars Werkman <lars@bitvavo.com>
25 lines
835 B
Makefile
25 lines
835 B
Makefile
# Just for local testing, at the moment it relies on .dylib (Mac), feel free to change below
|
|
build:
|
|
cargo build --lib --release
|
|
@mkdir -p build/generated/resources
|
|
cp -f ../../target/release/libzen_uniffi.dylib build/generated/resources/libzen_uniffi.dylib
|
|
|
|
generate-java:
|
|
uniffi-bindgen-java generate \
|
|
--library build/generated/resources/libzen_uniffi.dylib \
|
|
--out-dir build/generated/java
|
|
|
|
generate-kotlin:
|
|
cargo run --bin uniffi-bindgen generate \
|
|
--library build/generated/resources/libzen_uniffi.dylib \
|
|
--language kotlin \
|
|
--out-dir build/generated/kotlin
|
|
|
|
generate-csharp:
|
|
uniffi-bindgen-cs \
|
|
--library build/generated/resources/libzen_uniffi.dylib \
|
|
--out-dir build/generated/csharp
|
|
|
|
all: build generate-java generate-kotlin generate-csharp
|
|
|
|
.PHONY: all build generate-java generate-kotlin generate-csharp |