From 4df5ee6087a4ddf864d34274ab0ecbeac6bbdd33 Mon Sep 17 00:00:00 2001 From: Ivan Enderlin Date: Mon, 23 May 2022 17:23:00 +0200 Subject: [PATCH] chore(crypto-js): Improve the `Makefile` for NodeJS support. --- crates/matrix-sdk-crypto-js/nodejs/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/crates/matrix-sdk-crypto-js/nodejs/Makefile b/crates/matrix-sdk-crypto-js/nodejs/Makefile index 2bdfdad2c..cd75e5d27 100644 --- a/crates/matrix-sdk-crypto-js/nodejs/Makefile +++ b/crates/matrix-sdk-crypto-js/nodejs/Makefile @@ -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'