Files
tldr/pages.zh/common/mix.md

355 B

mix

提供用于创建、编译和测试 Elixir 项目的构建工具,管理其依赖关系等。 更多信息:https://hexdocs.pm/mix

  • 执行特定文件:

mix run {{my_script.exs}}

  • 创建新项目:

mix new {{project_name}}

  • 编译项目:

mix compile

  • 运行项目测试:

mix test

  • 显示帮助:

mix help