Skip to content

Use GYP + upgrade to libuv + Windows compatibility #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 18 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
build/
.lock-wscript
sqlite3_bindings.node
*.a
*.o
.gitignore
build
*.node
node_modules
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
node-sqlite - Asynchronous SQLite3 driver for Node.js

SQLite calls block, so to work around this, synchronous calls happen within
Node's libeio thread-pool, in a similar manner to how POSIX calls are
currently made.
the libuv thread-pool.

# SYNOPSIS

## High-level Driver

var sys = require('sys'),
sqlite = require('sqlite');
var sqlite = require('sqlite');

var db = new sqlite.Database();

Expand Down Expand Up @@ -187,14 +185,15 @@ Running the unit tests could not be easier. Simply:
# SEE ALSO

* http://sqlite.org/docs.html
* http://github.com/grumdrig/node-sqlite/

# AUTHORS

Orlando Vazquez [[email protected]]

Ryan Dahl [[email protected]]

Brian White (Windows compatibility, GYPification, and more)

# THANKS

Many thanks to Eric Fredricksen for his synchronous driver on which this
Expand Down
1 change: 0 additions & 1 deletion async-testing
Submodule async-testing deleted from 45a83e
34 changes: 34 additions & 0 deletions binding.gyp
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
'targets': [
{
'target_name': 'sqlite3_bindings',
'sources': [
'src/sqlite3_bindings.cc',
'src/database.cc',
'src/statement.cc',
'src/events.cc',
'src/mpool.c',
'deps/sqlite/sqlite3.c',
],
'conditions': [
['OS=="win"', {
'sources': [
'deps/win/sys/mman.c',
],
'include_dirs': [
'deps/win',
],
}],
],
'defines': [
'SQLITE_ENABLE_FTS3',
'SQLITE_ENABLE_FTS3_PARENTHESIS',
],
'include_dirs': [
'src',
'deps/sqlite',
],
'cflags': [ '-O3' ],
},
],
}
5 changes: 0 additions & 5 deletions build.sh

This file was deleted.

Loading