forked from nalgeon/sqlean
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add new extension for breadth-first search queries - https://github.com/abetlen/sqlite3-bfsvtab-ext + tests * Simplify Makefile - extract downloading for vendored libs to a bash script * Rename gen -> genMake * Rename runner -> testrunner for more clarity. * Makefile: add cleanup for SQLITE downloading
- Loading branch information
1 parent
cbe9079
commit bbcd194
Showing
27 changed files
with
1,204 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
## call with `bin/test.sh CI` for CI testing! | ||
node runner/index.js $@ | ||
node testrunner/index.js $@ | ||
exit $? |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
#!/usr/bin/env bash | ||
node gen/generateMakefile.js | ||
node genMake/index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/usr/bin/env bash | ||
|
||
### official SQLite extensions | ||
|
||
curl -L https://github.com/sqlite/sqlite/raw/master/ext/misc/json1.c --output src/sqlite3-json1.c | ||
curl -L https://github.com/sqlite/sqlite/raw/master/ext/misc/series.c --output src/sqlite3-series.c | ||
curl -L https://github.com/sqlite/sqlite/raw/master/ext/misc/spellfix.c --output src/sqlite3-spellfix.c | ||
curl -L https://github.com/sqlite/sqlite/raw/master/ext/misc/memstat.c --output src/sqlite3-memstat.c | ||
|
||
### community maintained extensions | ||
|
||
curl -L https://github.com/shawnw/useful_sqlite_extensions/raw/master/src/math_funcs.c --output src/sqlite3-shawnw_math.c | ||
patch -p0 < diffs/sqlite3-shawnw_math.diff | ||
|
||
curl -L https://github.com/shawnw/useful_sqlite_extensions/raw/master/src/bloom_filter.c --output src/sqlite3-bloom_filter.c | ||
patch -p0 < diffs/sqlite3-bloom_filter.diff | ||
|
||
curl -L https://github.com/abetlen/sqlite3-bfsvtab-ext/raw/main/bfsvtab.c --output src/sqlite3-bfsvtab.c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## **** GENERATED CODE! see genMake/index.js for more details! | ||
|
||
.PHONY: prepare-dist download-sqlite compile-linux compile-windows compile-macos | ||
|
||
SQLITE_RELEASE_YEAR ?= "2021" | ||
SQLITE_VERSION ?= "3360000" | ||
|
||
|
||
prepare-dist: | ||
mkdir -p dist | ||
rm -f dist/* | ||
|
||
download-sqlite: | ||
curl -L http://sqlite.org/$(SQLITE_RELEASE_YEAR)/sqlite-amalgamation-$(SQLITE_VERSION).zip --output src.zip | ||
unzip src.zip | ||
mv sqlite-amalgamation-$(SQLITE_VERSION)/* src | ||
rm -rf sqlite-amalgamation-$(SQLITE_VERSION)/ | ||
rm src.zip |
Oops, something went wrong.