mirror of
https://github.com/asg017/sqlite-vec.git
synced 2026-04-25 08:46:49 +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
|
- uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
toolchain: stable
|
toolchain: stable
|
||||||
|
- run: ./scripts/vendor.sh
|
||||||
- run: make sqlite-vec.h
|
- run: make sqlite-vec.h
|
||||||
- run: make deps
|
- run: make deps
|
||||||
working-directory: ./bindings/rust
|
working-directory: ./bindings/rust
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
VERSION=$(shell cat ../../VERSION)
|
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
|
Cargo.toml: ../../VERSION Cargo.toml.tmpl
|
||||||
VERSION=$(VERSION) envsubst < 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
|
sqlite-vec.h: ../../sqlite-vec.h
|
||||||
cp $< $@
|
cp $< $@
|
||||||
|
|
||||||
|
sqlite3ext.h: ../../vendor/sqlite3ext.h
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
|
sqlite3.h:
|
||||||
|
cp $< $@
|
||||||
|
|
||||||
.PHONY: deps
|
.PHONY: deps
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue