mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +02:00
fixup rust bindings
This commit is contained in:
parent
a6495e1e9a
commit
38e41c62eb
5 changed files with 36 additions and 14 deletions
14
bindings/rust/Makefile
Normal file
14
bindings/rust/Makefile
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
VERSION=$(shell cat ../../VERSION)
|
||||
|
||||
deps: Cargo.toml sqlite-vec.c sqlite-vec.h
|
||||
|
||||
Cargo.toml: ../../VERSION Cargo.toml.tmpl
|
||||
VERSION=$(VERSION) envsubst < Cargo.toml.tmpl > $@
|
||||
|
||||
sqlite-vec.c: ../../sqlite-vec.c
|
||||
cp $< $@
|
||||
|
||||
sqlite-vec.h: ../../sqlite-vec.h
|
||||
cp $< $@
|
||||
|
||||
.PHONY: deps
|
||||
Loading…
Add table
Add a link
Reference in a new issue