running wallet script outside the project needs .mjs extension

This commit is contained in:
Sebastian 2022-10-31 12:49:44 -03:00
parent d3855a1861
commit 6d08ed0680
No known key found for this signature in database
GPG Key ID: BE4FF68352439FC1
2 changed files with 2 additions and 2 deletions

View File

@ -25,6 +25,6 @@ install:
install -d $(install_target)/node_modules/taler-wallet-cli/dist
install ./dist/taler-wallet-cli.js $(install_target)/node_modules/taler-wallet-cli/dist/
install ./dist/taler-wallet-cli.js.map $(install_target)/node_modules/taler-wallet-cli/dist/
install ./bin/taler-wallet-cli.js $(install_target)/node_modules/taler-wallet-cli/bin/
ln -sf $(install_target)/node_modules/taler-wallet-cli/bin/taler-wallet-cli $(prefix)/bin/taler-wallet-cli
install ./bin/taler-wallet-cli.mjs $(install_target)/node_modules/taler-wallet-cli/bin/
ln -sf $(install_target)/node_modules/taler-wallet-cli/bin/taler-wallet-cli.mjs $(prefix)/bin/taler-wallet-cli.mjs
endif