Skip to content

Commit

Permalink
fix: support SpatiaLite extension
Browse files Browse the repository at this point in the history
Co-authored-by: Kristoffer K <[email protected]>
  • Loading branch information
m4heshd and merceyz committed Apr 4, 2024
1 parent 506df63 commit 8b311b1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ jobs:
- run: npm install --ignore-scripts
- run: npm run build-debug
- run: npm test
- name: Test SpatiaLite extension
if: ${{ startsWith(matrix.os, 'ubuntu') }}
run: |
sudo apt update
sudo apt install libsqlite3-mod-spatialite -y
node -e "require('./lib/index.js')(':memory:').loadExtension('mod_spatialite').exec('SELECT InitSpatialMetaData();')"
test-alpine-linux:
name: Testing Node 18 on Alpine-Linux
Expand Down
1 change: 0 additions & 1 deletion deps/defines.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
'SQLITE_ENABLE_UPDATE_DELETE_LIMIT',
'SQLITE_LIKE_DOESNT_MATCH_BLOBS',
'SQLITE_OMIT_DEPRECATED',
'SQLITE_OMIT_GET_TABLE',
'SQLITE_OMIT_PROGRESS_CALLBACK',
'SQLITE_OMIT_SHARED_CACHE',
'SQLITE_OMIT_TCL_VARIABLE',
Expand Down
1 change: 0 additions & 1 deletion deps/download.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ SQLITE_ENABLE_STAT4
SQLITE_ENABLE_UPDATE_DELETE_LIMIT
SQLITE_LIKE_DOESNT_MATCH_BLOBS
SQLITE_OMIT_DEPRECATED
SQLITE_OMIT_GET_TABLE
SQLITE_OMIT_PROGRESS_CALLBACK
SQLITE_OMIT_SHARED_CACHE
SQLITE_OMIT_TCL_VARIABLE
Expand Down
1 change: 0 additions & 1 deletion docs/compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ SQLITE_ENABLE_STAT4
SQLITE_ENABLE_UPDATE_DELETE_LIMIT
SQLITE_LIKE_DOESNT_MATCH_BLOBS
SQLITE_OMIT_DEPRECATED
SQLITE_OMIT_GET_TABLE
SQLITE_OMIT_PROGRESS_CALLBACK
SQLITE_OMIT_SHARED_CACHE
SQLITE_OMIT_TCL_VARIABLE
Expand Down

0 comments on commit 8b311b1

Please sign in to comment.