File tree 4 files changed +14
-10
lines changed
4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 1
1
.PHONY : update-yosys build-yosys all
2
2
3
+ all : build-yosys-napi
4
+
3
5
update-yosys :
4
6
git submodule update --init
5
7
git submodule foreach git pull origin master
6
8
7
9
build-yosys : update-yosys
8
10
cd yosys-src && echo " ENABLE_LIBYOSYS=1" > Makefile.conf && make
9
11
10
- all : build-yosys
12
+ build-yosys-napi : build-yosys
13
+ rm -rf build
14
+ node-gyp configure
15
+ node-gyp build
Original file line number Diff line number Diff line change 1
- const binding = require ( 'node-gyp-build ' ) ( __dirname )
1
+ const binding = require ( 'prebuildify-load ' ) ( __dirname )
2
2
3
3
module . exports = binding
Original file line number Diff line number Diff line change 8
8
"license" : " ISC" ,
9
9
"dependencies" : {
10
10
"node-addon-api" : " ^1.4.0" ,
11
- "node-gyp-build " : " ^3.4.0 "
11
+ "prebuildify-load " : " ^1.0.1 "
12
12
},
13
13
"devDependencies" : {
14
14
"prebuildify" : " ^2.7.0" ,
17
17
"tape" : " ^4.9.1"
18
18
},
19
19
"scripts" : {
20
- "prepare" : " node-gyp-build || true" ,
21
- "build" : " rm -rf build && make build-yosys && node-gyp-build" ,
20
+ "install" : " prebuildify-load || make" ,
22
21
"test" : " standard && tape tests/test.js" ,
23
- "prebuild" : " rm -rf build && make build-yosys && prebuildify --napi" ,
22
+ "prebuild" : " prebuildify --napi" ,
24
23
"prepublishOnly" : " prebuildify-ci download"
25
24
},
26
25
"standard" : {
Original file line number Diff line number Diff line change @@ -1112,10 +1112,6 @@ node-addon-api@^1.4.0:
1112
1112
version "1.4.0"
1113
1113
resolved "https://registry.npmjs.org/node-addon-api/-/node-addon-api-1.4.0.tgz#4c43e4c1ed8fbf3176ce71003f352329adad87eb"
1114
1114
1115
- node-gyp-build@^3.4.0 :
1116
- version "3.4.0"
1117
- resolved "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-3.4.0.tgz#f8f62507e65f152488b28aac25d04b9d79748cf7"
1118
-
1119
1115
normalize-package-data@^2.3.2 :
1120
1116
version "2.4.0"
1121
1117
resolved "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f"
@@ -1294,6 +1290,10 @@ prebuildify-ci@^1.0.2:
1294
1290
tar-fs "^1.16.0"
1295
1291
unzip "^0.1.11"
1296
1292
1293
+ prebuildify-load@^1.0.1 :
1294
+ version "1.0.1"
1295
+ resolved "https://registry.npmjs.org/prebuildify-load/-/prebuildify-load-1.0.1.tgz#c46e571f0b2b94d619775c9d4ea5719a2b884950"
1296
+
1297
1297
prebuildify@^2.7.0 :
1298
1298
version "2.7.0"
1299
1299
resolved "https://registry.npmjs.org/prebuildify/-/prebuildify-2.7.0.tgz#f5a9aa9c4df35f4d9479a5ff50dce5b6b24faf92"
You can’t perform that action at this time.
0 commit comments