Fix some nits with nodejs (#219)

This commit is contained in:
Justin Traglia 2023-03-17 09:55:24 +00:00 committed by GitHub
parent 51d15222c6
commit 5e34bc0232
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 16396 additions and 3 deletions

View File

@ -2,4 +2,4 @@ build
dist dist
*.node *.node
node_modules node_modules
test/__fixtures__/testing_trusted_setups.txt test/__fixtures__/testing_trusted_setups.*

View File

@ -1,12 +1,12 @@
all: clean build format test bundle all: clean build format test bundle
clean: clean:
yarn node-gyp clean
rm -rf build rm -rf build
rm -rf dist rm -rf dist
rm -f *.node rm -f *.node
rm -f *.a rm -f *.a
rm -f *.o rm -f *.o
rm -rf node_modules
build: src/kzg.cxx lib/kzg.ts package.json binding.gyp Makefile build: src/kzg.cxx lib/kzg.ts package.json binding.gyp Makefile
cd ../../src && make c_kzg_4844.o && cp c_kzg_4844.o ../bindings/node.js cd ../../src && make c_kzg_4844.o && cp c_kzg_4844.o ../bindings/node.js

File diff suppressed because one or more lines are too long