Skip to content

Commit 59e7192

Browse files
committed
fix(build): init temp directory before build
1 parent beed37f commit 59e7192

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ CMakeCache.txt
1717
cmake_install.cmake
1818
ta_config.h
1919
ta-lib/Makefile
20-
ta-lib/c/Makefile
20+
ta-lib/c/Makefile

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "0.2.0",
66
"license": "MIT",
77
"scripts": {
8-
"install": "cd ta-lib && cmake ./ && make -j4 && cd ./c/make/csr/linux/g++ && make -j4 && cd ../../../../../../ && node-gyp configure build -j4"
8+
"install": "cd ta-lib && cmake ./ && make -j4 && mkdir -p c/lib/ c/bin/{gen_code,ta_regtest} c/temp/csr/gen_code && cd ./c/make/csr/linux/g++ && make -j4 && cd ../../../../../../ && node-gyp configure build -j4"
99
},
1010
"description": "The [TA-Lib](http://ta-lib.org/) sync bindings.",
1111
"devDependencies": {

0 commit comments

Comments
 (0)