Skip to content

Commit 2509359

Browse files
Clarify database sidecar build requirement
1 parent dd98427 commit 2509359

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/package-database-sidecars.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,9 @@ for (const folder of databaseFolders) {
9595

9696
const binaryPath = join(binDir, basename(sidecarPath));
9797
if (!(await stat(binaryPath).then((value) => value.isFile()).catch(() => false))) {
98-
throw new Error(`Missing database sidecar binary for ${folder}: ${binaryPath}`);
98+
throw new Error(
99+
`Missing database sidecar binary for ${folder}: ${binaryPath}. Build them from the Athas repo with: cargo build -p athas-database --release --no-default-features --features all-providers --bins`,
100+
);
99101
}
100102

101103
const packagePath = join(root, "database", folder, `${platformArch}.tar.gz`);

0 commit comments

Comments
 (0)