0
0
mirror of https://github.com/tursodatabase/libsql.git synced 2024-12-15 17:59:41 +00:00
libsql/libsql-sqlite3/tool/generate-artifacts.sh
2023-10-16 13:58:16 +02:00

13 lines
384 B
Bash
Executable File

#!/usr/bin/env bash
# Generates artifacts from the current build:
# - .c and .h amalgamation files
# - a precompiled binary package
#
# Assumes that ./configure and make steps were executed and succeeded
set -x
tar czvf libsql-amalgamation-$(<LIBSQL_VERSION)${LIBSQL_SUFFIX}.tar.gz sqlite3.c sqlite3.h
tar czvf libsql-$(<LIBSQL_VERSION)${LIBSQL_SUFFIX}.tar.gz sqlite3 libsql .libs