mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-26 09:16:22 +02:00
add sqlite3.h and sqlite3ext.h to rust bindings
This commit is contained in:
parent
4f6cf8bc7c
commit
b001ba5083
2 changed files with 8 additions and 1 deletions
1
.github/workflows/release.yaml
vendored
1
.github/workflows/release.yaml
vendored
|
|
@ -199,6 +199,7 @@ jobs:
|
|||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- run: ./scripts/vendor.sh
|
||||
- run: make sqlite-vec.h
|
||||
- run: make deps
|
||||
working-directory: ./bindings/rust
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
VERSION=$(shell cat ../../VERSION)
|
||||
|
||||
deps: Cargo.toml sqlite-vec.c sqlite-vec.h
|
||||
deps: Cargo.toml sqlite-vec.c sqlite-vec.h sqlite3ext.h sqlite3.h
|
||||
|
||||
Cargo.toml: ../../VERSION Cargo.toml.tmpl
|
||||
VERSION=$(VERSION) envsubst < Cargo.toml.tmpl > $@
|
||||
|
|
@ -11,4 +11,10 @@ sqlite-vec.c: ../../sqlite-vec.c
|
|||
sqlite-vec.h: ../../sqlite-vec.h
|
||||
cp $< $@
|
||||
|
||||
sqlite3ext.h: ../../vendor/sqlite3ext.h
|
||||
cp $< $@
|
||||
|
||||
sqlite3.h:
|
||||
cp $< $@
|
||||
|
||||
.PHONY: deps
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue