all repos — litestore @ d57b7bb8fbb3cec9520e35b298e0a4f19af4bd21

A minimalist nosql document store.

Fixes.
h3rald h3rald@h3rald.com
Sat, 06 Jan 2024 17:19:17 +0100
commit

d57b7bb8fbb3cec9520e35b298e0a4f19af4bd21

parent

be4226e6b5191a1bea1f7fc5690efc64d36d95b3

M .github/workflows/add-artifacts-to-current-release.yml.github/workflows/add-artifacts-to-current-release.yml

@@ -76,13 +76,13 @@ if: matrix.os == 'windows-latest'

# Build for Linux - name: Build (Linux) - run: nimble build -v -y --passL:-static -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc --opt:size litestore + run: nimble build -v -y --passL:-static -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc --opt:size -d:ssl litestore if: matrix.os == 'ubuntu-latest' # Build for macOS/Windows - name: Build (macOS, Windows) shell: bash - run: nimble build -v -y -d:release --mm:refc --opt:size litestore + run: nimble build -v -y -d:release --mm:refc --opt:size -d:ssl litestore if: matrix.os == 'macos-latest' || matrix.os == 'windows-latest' # Import admin directory and create default db
M .github/workflows/ci.yml.github/workflows/ci.yml

@@ -40,4 +40,4 @@ curl https://nim-lang.org/choosenim/init.sh -sSf > init.sh

sh init.sh -y - name: Build - run: nimble build -y -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc + run: nimble build -y -d:release --gcc.exe:musl-gcc --gcc.linkerexe:musl-gcc --mm:refc -d:ssl
M src/litestorepkg/lib/jwt.nimsrc/litestorepkg/lib/jwt.nim

@@ -1,14 +1,14 @@

import std/[ - openssl, base64, strutils, json, times, pegs, sequtils + openssl, base64, strutils, macros, json, times, pegs, sequtils ] import types when defined(windows) and defined(amd64): - {.passL: "-static -L./src/litestorepkg/vendor/openssl/windows -lssl -lcrypto -lbcrypt".} + {.passL: "-static -L"&getProjectPath()&"/litestorepkg/vendor/openssl/windows -lssl -lcrypto -lbcrypt".} elif defined(linux) and defined(amd64): - {.passL: "-static -L./src/litestorepkg/vendor/openssl/linux -lssl -lcrypto".} + {.passL: "-static -L"&getProjectPath()&"/litestorepkg/vendor/openssl/linux -lssl -lcrypto".} elif defined(macosx) and defined(amd64): - {.passL: "-Bstatic -L./src/litestorepkg/vendor/openssl/macosx -lssl -lcrypto -Bdynamic".} + {.passL: "-Bstatic -L"&getProjectPath()&"/litestorepkg/vendor/openssl/macosx -lssl -lcrypto -Bdynamic".} proc EVP_PKEY_new(): EVP_PKEY {.cdecl, importc.}