Add script and instructions to download SQLite when building.

This commit is contained in:
Chris Cromer 2023-05-02 23:24:43 -04:00
parent edc0e2a39f
commit 819bcebce0
Signed by: cromer
GPG Key ID: FA91071797BEEEC2
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,7 @@ The Obelisk project is a declarative language designed to help with the implemen
## Build ## Build
``` ```
./sqlite.sh
meson builddir meson builddir
cd buildir cd buildir
ninja ninja

11
sqlite.sh Executable file
View File

@ -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