File tree 4 files changed +11
-5
lines changed
4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 1
1
node_modules /
2
2
build /
3
+ prebuilds /
3
4
* .log
Original file line number Diff line number Diff line change 17
17
- linux
18
18
before_deploy :
19
19
- ARCHIVE_NAME="${TRAVIS_TAG:-latest}-$TRAVIS_OS_NAME-`uname -m`.tar"
20
- - npm run prebuild
21
- - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ARCH=ia32 npm run prebuild; fi
20
+ - yarn run prebuild
22
21
- tar --create --verbose --file="$ARCHIVE_NAME" --directory "$TRAVIS_BUILD_DIR/prebuilds"
23
22
.
24
23
deploy :
Original file line number Diff line number Diff line change 20
20
"library_dirs" : [
21
21
"../yosys-src" ,
22
22
],
23
- }
23
+ },
24
+ "copies" :
25
+ [
26
+ {
27
+ "destination" : "<(module_root_dir)/build/Release" ,
28
+ "files" : ["<(module_root_dir)/yosys-src/libyosys.so" ]
29
+ }
30
+ ]
24
31
}]
25
32
}
Original file line number Diff line number Diff line change 16
16
"tape" : " ^4.9.1"
17
17
},
18
18
"scripts" : {
19
- "install" : " yarn clean && yarn build-yosys && yarn build-napi && yarn copy-libyosys " ,
19
+ "install" : " yarn clean && yarn build-yosys && yarn build-napi" ,
20
20
"clean" : " rm -rf build" ,
21
21
"build-yosys" : " make build-yosys" ,
22
22
"build-napi" : " node-gyp-build" ,
23
- "copy-libyosys" : " cp yosys-src/libyosys.so build/Release" ,
24
23
"test" : " standard && tape tests/test.js" ,
25
24
"prebuild" : " prebuildify --napi"
26
25
},
You can’t perform that action at this time.
0 commit comments