mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-19 12:58:13 +00:00
add npm install to emscripten Makefile
This commit is contained in:
parent
3f4e50ba22
commit
da0a2f8662
@ -7,11 +7,14 @@ EMFLAGS = \
|
||||
SRC = ../bignum.c ../ecdsa.c ../secp256k1.c ../hmac.c ../bip32.c \
|
||||
../base58.c ../ripemd160.c ../sha2.c ../rand.c
|
||||
|
||||
test: trezor-crypto.js
|
||||
test: node_modules trezor-crypto.js
|
||||
node test.js
|
||||
|
||||
trezor-crypto.js: $(SRC)
|
||||
emcc $(EMFLAGS) -o $@ $^
|
||||
|
||||
node_modules:
|
||||
npm install
|
||||
|
||||
clean:
|
||||
rm -f trezor-crypto.js
|
||||
|
Loading…
Reference in New Issue
Block a user