Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/ci-absurd-sqlite-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
components: rustfmt, clippy

- name: Format check
run: cargo fmt -p absurd_sqlite_extension -- --check
run: cargo fmt -p absurd-sqlite-extension -- --check

- name: Lint
run: cargo clippy -p absurd_sqlite_extension -- -D warnings
run: cargo clippy -p absurd-sqlite-extension -- -D warnings

- name: Unit tests
run: cargo test -p absurd_sqlite_extension
run: cargo test -p absurd-sqlite-extension
4 changes: 2 additions & 2 deletions .github/workflows/ci-standalone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:

- name: Build SQLite extension
run: |
cargo build -p absurd_sqlite_extension --release
cargo build -p absurd_sqlite_extension
cargo build -p absurd-sqlite-extension --release
cargo build -p absurd-sqlite-extension

- name: Install Linux dependencies
if: runner.os == 'Linux'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-absurd-sqlite-extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: dtolnay/rust-toolchain@stable

- name: Build extension
run: cargo build --release -p absurd_sqlite_extension
run: cargo build --release -p absurd-sqlite-extension

- name: Package artifact
shell: bash
Expand Down
6 changes: 1 addition & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[workspace]
members = ["absurd-sqlite-deno-runtime", "absurd-sqlite-extension", "standalone/src-tauri"]
members = ["absurd-sqlite-extension", "standalone/src-tauri"]
resolver = "3"

[profile.release]
Expand Down
4 changes: 0 additions & 4 deletions absurd-sqlite-deno-runtime/AGENTS.md

This file was deleted.

6 changes: 0 additions & 6 deletions absurd-sqlite-deno-runtime/Cargo.toml

This file was deleted.

3 changes: 0 additions & 3 deletions absurd-sqlite-deno-runtime/src/main.rs

This file was deleted.

2 changes: 1 addition & 1 deletion absurd-sqlite-extension/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
build = "build.rs"
edition = "2021"
name = "absurd_sqlite_extension"
name = "absurd-sqlite-extension"
version = "0.1.0"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion sdks/typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build": "tsc --project tsconfig.build.json && tsc --project tsconfig.cjs.json && echo '{\"type\":\"commonjs\"}' > dist/cjs/package.json",
"type-check": "tsc --noEmit",
"prepare": "npm run build",
"test:prepare": "cd ../../ && cargo build -p absurd_sqlite_extension --release",
"test:prepare": "cd ../../ && cargo build -p absurd-sqlite-extension --release",
"test": "npm run test:prepare && vitest --silent --run",
"test:watch": "npm run test:prepare && vitest",
"test:ui": "npm run test:prepare && vitest --ui",
Expand Down
4 changes: 2 additions & 2 deletions standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite dev",
"build": "vite build",
"build:tauri": "vite build && cargo build -p absurd_sqlite_extension --release",
"build:tauri": "vite build && cargo build -p absurd-sqlite-extension --release",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
Expand Down Expand Up @@ -34,4 +34,4 @@
"vite": "^6.0.3",
"@tauri-apps/cli": "^2"
}
}
}
6 changes: 3 additions & 3 deletions standalone/src-tauri/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ fn prepare_sqlite_extension() {
if candidates.iter().all(|path| !path.exists()) {
let mut cmd = Command::new("cargo");
cmd.current_dir(workspace_root)
.args(["build", "-p", "absurd_sqlite_extension"])
.args(["build", "-p", "absurd-sqlite-extension"])
.arg("--target")
.arg(&target_triple);
if profile != "debug" {
Expand All @@ -56,15 +56,15 @@ fn prepare_sqlite_extension() {
.into_iter()
.find(|path| path.exists())
.unwrap_or_else(|| {
panic!("absurd_sqlite_extension artifact not found after build");
panic!("absurd-sqlite-extension artifact not found after build");
});

let resources_dir = manifest_dir.join("resources");
fs::create_dir_all(&resources_dir).expect("create resources directory");
let dest = resources_dir.join(dylib_name);
fs::copy(&extension_path, &dest).expect("copy SQLite extension into resources");
println!(
"cargo:info=Copying absurd_sqlite_extension from {} to {}",
"cargo:info=Copying absurd-sqlite-extension from {} to {}",
extension_path.display(),
dest.display()
);
Expand Down