Step API.

This commit is contained in:
Nuno Cruces
2023-01-21 00:33:46 +00:00
parent 8001472090
commit 5643077254
8 changed files with 117 additions and 104 deletions

13
sqlite3/download.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -eo pipefail
cd -P -- "$(dirname -- "$0")"
if [ ! -f "sqlite3.c" ]; then
url="https://www.sqlite.org/2022/sqlite-amalgamation-3400100.zip"
curl "$url" > sqlite.zip
unzip -d . sqlite.zip
mv sqlite-amalgamation-*/sqlite3* .
rm -rf sqlite-amalgamation-*
rm sqlite.zip
fi