mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-12 04:54:52 +03:00
25 lines
405 B
Markdown
25 lines
405 B
Markdown
# mix
|
|
|
|
> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.
|
|
> More information: <https://hexdocs.pm/mix>.
|
|
|
|
- Execute a particular file:
|
|
|
|
`mix run {{my_script.exs}}`
|
|
|
|
- Create a new project:
|
|
|
|
`mix new {{project_name}}`
|
|
|
|
- Compile project:
|
|
|
|
`mix compile`
|
|
|
|
- Run project tests:
|
|
|
|
`mix test`
|
|
|
|
- List all mix commands:
|
|
|
|
`mix help`
|