File tree 4 files changed +94
-139
lines changed
test/integration/connection-pool
4 files changed +94
-139
lines changed Original file line number Diff line number Diff line change 2
2
'targets' : [
3
3
{
4
4
'target_name' : 'binding' ,
5
+ 'sources' : ['src/binding.cc' ],
6
+ 'include_dirs' : [
7
+ '<!@(pg_config --includedir)' ,
8
+ '<!(node -e \' require("nan")\' )'
9
+ ],
5
10
'conditions' : [
6
11
['OS=="win"' , {
7
12
'conditions' : [
8
13
['"<!@(cmd /C where /Q pg_config || echo n)"!="n"' ,
9
14
{
10
- 'sources' : ['src/binding.cc' ],
11
- 'include_dirs' : ['<!@(pg_config --includedir)' ],
12
15
'libraries' : ['libpq.lib' ],
13
16
'msvs_settings' : {
14
17
'VCLinkerTool' : {
24
27
'conditions' : [
25
28
['"y"!="n"' , # ToDo: add pg_config existance condition that works on linux
26
29
{
27
- 'sources' : ['src/binding.cc' ],
28
- 'include_dirs' : ['<!@(pg_config --includedir)' ],
29
30
'libraries' : ['-lpq -L<!@(pg_config --libdir)' ]
30
31
}
31
32
]
Original file line number Diff line number Diff line change 19
19
"main" : " ./lib" ,
20
20
"dependencies" : {
21
21
"generic-pool" : " 2.0.3" ,
22
- "buffer-writer" : " 1.0.0"
22
+ "buffer-writer" : " 1.0.0" ,
23
+ "nan" : " ~0.6.0"
23
24
},
24
25
"devDependencies" : {
25
26
"jshint" : " 1.1.0" ,
You can’t perform that action at this time.
0 commit comments