From 819bcebce0876fc5e68656dcae30701f0b4511d9 Mon Sep 17 00:00:00 2001 From: Chris Cromer Date: Tue, 2 May 2023 23:24:43 -0400 Subject: [PATCH] Add script and instructions to download SQLite when building. --- README.md | 1 + sqlite.sh | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100755 sqlite.sh diff --git a/README.md b/README.md index f9b81b6..c423ba4 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ The Obelisk project is a declarative language designed to help with the implemen ## Build ``` +./sqlite.sh meson builddir cd buildir ninja diff --git a/sqlite.sh b/sqlite.sh new file mode 100755 index 0000000..75c92cc --- /dev/null +++ b/sqlite.sh @@ -0,0 +1,11 @@ +#!/bin/bash + +VERSION=sqlite-amalgamation-3410000 + +pushd sqlite +wget https://sqlite.org/2023/${VERSION}.zip +unzip ${VERSION}.zip +cp ${VERSION}/sqlite3.c . +cp ${VERSION}/sqlite3.h . +rm -rf ${VERSION} ${VERSION}.zip +popd