Skip to content

Commit

Permalink
Merge pull request #54 from markdirish/v2.0
Browse files Browse the repository at this point in the history
V2.0
  • Loading branch information
markdirish authored Apr 5, 2019
2 parents dfa40e3 + bd0a2e3 commit 9929caa
Show file tree
Hide file tree
Showing 143 changed files with 7,521 additions and 9,449 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = { "extends": "airbnb-base" };
7 changes: 6 additions & 1 deletion .gitignore
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,9 @@ a.out
build
node_modules
deps
.idea
.idea
sandbox
core
oldtest
.env
.vscode/
Empty file modified LICENSE
100644 → 100755
Empty file.
1,198 changes: 702 additions & 496 deletions README.md
100644 → 100755

Large diffs are not rendered by default.

15 changes: 7 additions & 8 deletions binding.gyp
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
{
'targets' : [
{
'target_name' : 'odbc_bindings',
'target_name' : 'odbc',
'sources' : [
'src/odbc.cpp',
'src/odbc_connection.cpp',
'src/odbc_statement.cpp',
'src/odbc_result.cpp',
'src/dynodbc.cpp'
],
'cflags' : ['-Wall', '-Wextra', '-Wno-unused-parameter'],
'cflags' : ['-Wall', '-Wextra', '-Wno-unused-parameter', '-DNAPI_DISABLE_CPP_EXCEPTIONS'],
'include_dirs': [
"<!(node -e \"require('nan')\")"
'<!@(node -p "require(\'node-addon-api\').include")'
],
'defines' : [
'UNICODE'
],
'conditions' : [
[ 'OS == "linux"', {
Expand Down Expand Up @@ -50,12 +48,13 @@
'conditions': [
[ '"<(os_name)"=="OS400"', {
'ldflags': [
'-Wl,-brtl,-bnoquiet,-blibpath:/QOpenSys/pkgs/lib,-lodbc'
]
'-Wl,-brtl,-blibpath:/QOpenSys/pkgs/lib,-lodbc'
],
'cflags' : ['-std=c++0x', '-DNAPI_DISABLE_CPP_EXCEPTIONS', '-Wall', '-Wextra', '-Wno-unused-parameter', '-I/QOpenSys/usr/include', '-I/QOpenSys/pkgs/include']
}]
]
}]
]
}
]
}
}
109 changes: 0 additions & 109 deletions examples/describe.js

This file was deleted.

45 changes: 0 additions & 45 deletions examples/params.js

This file was deleted.

Loading

0 comments on commit 9929caa

Please sign in to comment.