简体   繁体   English

如何告诉 rebar3 在 Windows 上使用 werl?

[英]How do I tell rebar3 to use werl on Windows?

This may apply to any rebar commands but it is mostly about rebar shell .这可能适用于任何钢筋命令,但主要是关于rebar shell

By default rebar uses erl and this might be clunky on Windows shells.默认情况下,rebar 使用erl ,这在 Windows shell 上可能很笨重。

According to this source根据这个消息来源

You can run rebar3 (and any other escript) with werl by specifying the ESCRIPT_EMULATOR environment variable.您可以通过指定ESCRIPT_EMULATOR环境变量来使用werl运行 rebar3(和任何其他 escript)。 In a Git bash that would be:在 Git bash 中:

 ESCRIPT_EMULATOR=werl rebar3 shell

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM