diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 13fd0de..e488993 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -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 diff --git a/bindings/rust/Makefile b/bindings/rust/Makefile index 6171353..cc2f0e7 100644 --- a/bindings/rust/Makefile +++ b/bindings/rust/Makefile @@ -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