chore(crypto-js): Improve the Makefile for NodeJS support.

This commit is contained in:
Ivan Enderlin
2022-05-23 17:23:00 +02:00
parent 1a731ec385
commit 4df5ee6087

View File

@@ -1,5 +1,9 @@
build:
cd .. && napi build --platform --release --features nodejs
test -f ../index.js && mv ../index.js pkg/ || true
test -f ../index.d.ts && mv ../index.d.ts pkg/ || true
test -f ../matrix-sdk-crypto.*.node && mv ../matrix-sdk-crypto.*.node pkg/ || true
echo '*' > pkg/.gitignore
test:
echo 'nop'