Skip to content
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
8 changes: 5 additions & 3 deletions binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# This next command produces no output but it it will fail
# (and cause GYP to fail) if we don't have a recent enough
# version of this library.
'<!@(pkg-config --atleast-version=2.1.0 fann)',
#'<!@(pkg-config --atleast-version=2.1.0 fann)',
'<!@(pkg-config --cflags fann)',
],
},
Expand Down Expand Up @@ -37,10 +37,12 @@
'conditions': [
[ 'OS!="win"', {
'include_dirs': [
'/opt/local/include'
'/opt/local/include',
'/usr/local/include'
],
'library_dirs': [
'/opt/local/lib'
'/opt/local/lib',
'/usr/local/lib'
]
}],
],
Expand Down
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name" : "fann",
"version" : "1.0.0",
"version" : "1.1.0",
"description" : "FANN (Fast Artificial Neural Network Library) bindings for Node.js",

"author" : { "name" : "Alex Kocharin"
Expand All @@ -15,11 +15,13 @@
"license" : { "type" : "WTFPL"
, "url" : "http://www.wtfpl.net/txt/copying/" },

"dependencies" : { "nan" : "~1.8" },
"dependencies" : { "nan" : "^2.3.3" },

"devDependencies" : { "mocha" : "2" },

"scripts" : { "test" : "mocha ./test -R dot" },

"scripts": {
"install": "node-gyp rebuild",
"test": "mocha ./test -R dot"
},
"gypfile" : true
}
Loading