Skip to content

Commit 4af1322

Browse files
committed
fix(npm): the install script
1 parent 0e66d2c commit 4af1322

2 files changed

Lines changed: 13 additions & 5 deletions

File tree

.npmignore

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
src/
1+
lib/
22
.idea/
33
node_modules/
44
temp/
@@ -8,4 +8,12 @@ dist/
88
*.config.yaml
99
*.out
1010
*.csv
11-
*.config.json
11+
*.config.json
12+
cmake-build-debug/
13+
node/
14+
build/
15+
CMakeFiles/
16+
CMakeCache.txt
17+
Makefile
18+
cmake_install.cmake
19+
ta_config.h

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
"name": "talib-binding",
33
"main": "./build/Release/talib_binding.node",
44
"types": "./src/talib-binding.generated.d.ts",
5-
"version": "0.0.1",
5+
"version": "0.0.2",
66
"license": "MIT",
77
"scripts": {
8-
"install": "cd ta-lib && cmake && make -j4 && cd .. && node-gyp configure build -j4"
8+
"install": "cd ta-lib && cmake ./ && make -j4 && cd .. && node-gyp configure build -j4"
99
},
1010
"description": "The [TA-Lib](http://ta-lib.org/) sync bindings.",
1111
"devDependencies": {
@@ -32,4 +32,4 @@
3232
"url": "https://github.com/acrazing/talib-binding-node/issues"
3333
},
3434
"homepage": "https://github.com/acrazing/talib-binding-node#readme"
35-
}
35+
}

0 commit comments

Comments
 (0)