File: link-sqlite

package info (click to toggle)
libgnatcoll-db 23.0.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 11,544 kB
  • sloc: ansic: 128,019; ada: 28,171; sql: 15,778; python: 2,263; makefile: 625; sh: 45
file content (23 lines) | stat: -rw-r--r-- 362 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh

set -C -e -u

cd "$AUTOPKGTEST_TMP"

cat > p.adb <<EOF
with Gnatcoll.Sql.Exec;
with Gnatcoll.Sql.Sqlite;
procedure P is
   D : Gnatcoll.Sql.Exec.Database_Description;
begin
   D := Gnatcoll.Sql.Sqlite.Setup (":memory:");
end P;
EOF
cat > p.gpr <<EOF
with "gnatcoll_sqlite.gpr";
project P is
   for Main use ("p.adb");
end P;
EOF
gprbuild -v p.gpr
./p