[feat] implement backend abstraction, dynamic backend selection, and GPU feature integration

This commit is contained in:
2025-08-13 11:36:09 +02:00
parent 5ace0a0d7e
commit 3344a3b18c
22 changed files with 2746 additions and 1004 deletions

View File

@@ -0,0 +1,18 @@
# Simple helper to build and link the plugin into the user's XDG data dir
# Usage:
# make build
# make link
PLUGIN := polyscribe-plugin-tubescribe
BIN := ../../target/release/$(PLUGIN)
.PHONY: build link
build:
cargo build -p $(PLUGIN) --release
link: build
@DATA_DIR=$${XDG_DATA_HOME:-$$HOME/.local/share}; \
mkdir -p $$DATA_DIR/polyscribe/plugins; \
ln -sf "$(CURDIR)/$(BIN)" $$DATA_DIR/polyscribe/plugins/$(PLUGIN); \
echo "Linked: $$DATA_DIR/polyscribe/plugins/$(PLUGIN) -> $(CURDIR)/$(BIN)"