Skip to content

Commit 2a4feaa

Browse files
committed
Cleanup whitespace in binding.gyp
1 parent 55dd6cb commit 2a4feaa

File tree

1 file changed

+24
-25
lines changed

1 file changed

+24
-25
lines changed

binding.gyp

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
"targets": [
33
{
44
"target_name": "oracle_bindings",
5-
"sources": [ "src/connection.cpp",
6-
"src/oracle_bindings.cpp",
5+
"sources": [ "src/connection.cpp",
6+
"src/oracle_bindings.cpp",
77
"src/executeBaton.cpp",
88
"src/reader.cpp",
99
"src/statement.cpp",
@@ -12,42 +12,42 @@
1212
["OS=='mac'", {
1313
"xcode_settings": {
1414
"GCC_ENABLE_CPP_EXCEPTIONS": "YES",
15-
"GCC_ENABLE_CPP_RTTI": "YES"
15+
"GCC_ENABLE_CPP_RTTI": "YES"
1616
}
1717
}],
1818
["OS!='win'", {
1919
"variables": {
20-
"oci_include_dir%": "<!(if [ -z $OCI_INCLUDE_DIR ]; then echo \"/opt/instantclient/sdk/include/\"; else echo $OCI_INCLUDE_DIR; fi)",
21-
"oci_lib_dir%": "<!(if [ -z $OCI_LIB_DIR ]; then echo \"/opt/instantclient/\"; else echo $OCI_LIB_DIR; fi)",
22-
"oci_version%": "<!(if [ -z $OCI_VERSION ]; then echo 11; else echo $OCI_VERSION; fi)"
20+
"oci_include_dir%": "<!(if [ -z $OCI_INCLUDE_DIR ]; then echo \"/opt/instantclient/sdk/include/\"; else echo $OCI_INCLUDE_DIR; fi)",
21+
"oci_lib_dir%": "<!(if [ -z $OCI_LIB_DIR ]; then echo \"/opt/instantclient/\"; else echo $OCI_LIB_DIR; fi)",
22+
"oci_version%": "<!(if [ -z $OCI_VERSION ]; then echo 11; else echo $OCI_VERSION; fi)"
2323
},
2424
"libraries": [ "-locci", "-lclntsh", "-lnnz<(oci_version)" ],
2525
"link_settings": {"libraries": [ '-L<(oci_lib_dir)'] }
2626
}],
2727
["OS=='win'", {
28-
"configurations": {
29-
"Release": {
30-
"msvs_settings": {
31-
"VCCLCompilerTool": {
32-
"RuntimeLibrary": "2"
33-
}
28+
"configurations": {
29+
"Release": {
30+
"msvs_settings": {
31+
"VCCLCompilerTool": {
32+
"RuntimeLibrary": "2"
33+
}
34+
},
3435
},
35-
},
36-
"Debug": {
37-
"msvs_settings": {
38-
"VCCLCompilerTool": {
39-
"RuntimeLibrary": "3"
40-
}
41-
},
42-
}
43-
},
36+
"Debug": {
37+
"msvs_settings": {
38+
"VCCLCompilerTool": {
39+
"RuntimeLibrary": "3"
40+
}
41+
},
42+
}
43+
},
4444
"variables": {
4545
"oci_include_dir%": "<!(IF DEFINED OCI_INCLUDE_DIR (echo %OCI_INCLUDE_DIR%) ELSE (echo C:\oracle\instantclient\sdk\include))",
4646
"oci_lib_dir%": "<!(IF DEFINED OCI_LIB_DIR (echo %OCI_LIB_DIR%) ELSE (echo C:\oracle\instantclient\sdk\lib\msvc))",
4747
"oci_version%": "<!(IF DEFINED OCI_VERSION (echo %OCI_VERSION%) ELSE (echo 11))"
48-
},
49-
# "libraries": [ "-loci" ],
50-
"link_settings": {"libraries": [ '<(oci_lib_dir)\oraocci<(oci_version).lib'] }
48+
},
49+
# "libraries": [ "-loci" ],
50+
"link_settings": {"libraries": [ '<(oci_lib_dir)\oraocci<(oci_version).lib'] }
5151
}]
5252
],
5353
"include_dirs": [ "<(oci_include_dir)" ],
@@ -57,4 +57,3 @@
5757
]
5858
}
5959

60-

0 commit comments

Comments
 (0)