Skip to content

Commit

Permalink
bindings: comment justfile
Browse files Browse the repository at this point in the history
Note that comment syntax appear close to a command when doing `just`
  • Loading branch information
RCasatta committed Sep 3, 2024
1 parent 18b2cc8 commit 321ddef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
default:
just --list

# Build python bindings
# Mac users should either run env.sh or manually set LIB_EXT=dylib
python-build-bindings:
LIBNAME=liblwk.${LIB_EXT:=so} && cargo build --features bindings && cargo run --features bindings -- generate --library target/debug/${LIBNAME} --language python --out-dir target/debug/bindings && cp target/debug/${LIBNAME} target/debug/bindings

Expand All @@ -18,6 +20,8 @@ docker-push: docker-build

kotlin-android: kotlin android

# Build kotlin interface file `lwk.kt` for bindings
# Mac users should either run env.sh or manually set LIB_EXT=dylib
kotlin:
LIBNAME=liblwk.${LIB_EXT:=so} && cargo build --features bindings && cargo run --features bindings -- generate --library target/debug/${LIBNAME} --language kotlin --out-dir target/release/kotlin

Expand Down

0 comments on commit 321ddef

Please sign in to comment.