Commit Graph

4 Commits

Author SHA1 Message Date
Michael Bradley, Jr a306430824 refactor: various adjustments made in process of refactoring this repo's integration in nim-status 2020-11-17 15:14:57 -06:00
Michael Bradley, Jr 96c9d37940 refactor: adjust Makefile, etc. so that static/shared lib linking works as expected
Clean up logic, variables, etc. in the Makefile and related files.

Bump nimterop and sqlcipher in `vendor/` to latest versions.

In addition to tests on GitHub Actions, manually test all static/shared
combinations on Linux, macOS, and Windows. Also, for each combination check
locally that a separately compiled `sqlite3` cli *cannot* read
e.g. `test/build/my.db` even with `PRAGMA key = '[password]';`. Likewise, check
that a separately compiled `sqlcipher` cli *can* read a database if and only if
the correct password is used, e.g. `PRAGMA key = 'qwerty';` for
`test/build/my.db`.
2020-11-12 14:03:37 -06:00
Michael Bradley, Jr 6f84b47de7 test: should build and test for SQLITE/SSL_STATIC default (=true) and =false
Refactor the Makefile as necessary.
2020-10-22 16:55:29 -05:00
Michael Bradley, Jr 20d2843dfb
refactor: adapt repo to use the nimbus-build-system
An important aspect of this refactor is that a user of this library needs to
supply openssl with respect to building the `sqlite3.c` amalgamation and the
`sqlite.nim` wrapper.
2020-10-15 18:18:37 -05:00