File: link-sqlite

package info (click to toggle)
libgnatcoll-db 18-4
  • links: PTS
  • area: main
  • in suites: buster
  • size: 2,268 kB
  • sloc: ada: 23,786; python: 2,166; makefile: 486; sh: 34; ansic: 18
file content (23 lines) | stat: -rw-r--r-- 353 bytes parent folder | download
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 "$ADTTMP"

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