running wallet script outside the project needs .mjs extension
This commit is contained in:
parent
d3855a1861
commit
6d08ed0680
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user