Skip to content

armgit / dbx

Public Imported from GitHub
0

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

build(sqlite): enable bundled sqlite in fast dev and check targets

二丫讲梵174f786483aa
diff --git a/Makefile b/Makefile
index 30351c1e96..6af66d9d99 100644
--- a/Makefile
+++ b/Makefile
@@ -80,7 +80,7 @@ dev: node_modules/.modules.yaml check-tauri-dev-port
$(PNPM) dev:tauri
dev-fast: node_modules/.modules.yaml check-tauri-dev-port
- $(PNPM) tauri dev -- --no-default-features --features duckdb-sidecar,dynamodb
+ $(PNPM) tauri dev -- --no-default-features --features duckdb-sidecar,dynamodb,sqlite-bundled
dev-web: node_modules/.modules.yaml
$(PNPM) dev:web
@@ -110,10 +110,10 @@ test: node_modules/.modules.yaml
$(PNPM) test
cargo-check-fast:
- cargo check --no-default-features
+ cargo check --no-default-features --features sqlite-bundled
cargo-test-fast:
- cargo test --no-default-features
+ cargo test --no-default-features --features sqlite-bundled
db-list:
@$(PNPM) db:env -- list
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index 441f31aa57..4dd8578898 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -20,6 +20,7 @@ dynamodb = ["dbx-core/dynamodb"]
mq-admin = ["dbx-core/mq-admin"]
sqlite-sqlcipher = ["dbx-core/sqlite-sqlcipher"]
sqlite-multiple-ciphers = ["dbx-core/sqlite-multiple-ciphers"]
+sqlite-bundled = ["dbx-core/sqlite-bundled"]
system-fonts = ["dbx-core/system-fonts"]
[build-dependencies]