2017-11-29 18:10:56 +00:00
|
|
|
# mix
|
|
|
|
|
2023-11-15 04:25:25 +00:00
|
|
|
> Build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.
|
2019-06-04 10:25:12 +01:00
|
|
|
> More information: <https://hexdocs.pm/mix>.
|
2017-11-29 18:10:56 +00:00
|
|
|
|
2017-12-01 08:30:32 +00:00
|
|
|
- Execute a particular file:
|
2017-11-29 18:10:56 +00:00
|
|
|
|
|
|
|
`mix run {{my_script.exs}}`
|
|
|
|
|
|
|
|
- Create a new project:
|
|
|
|
|
|
|
|
`mix new {{project_name}}`
|
|
|
|
|
|
|
|
- Compile project:
|
|
|
|
|
|
|
|
`mix compile`
|
|
|
|
|
|
|
|
- Run project tests:
|
|
|
|
|
2017-11-29 18:24:50 +00:00
|
|
|
`mix test`
|
2017-12-01 08:30:32 +00:00
|
|
|
|
2024-01-30 04:55:24 +00:00
|
|
|
- Display help:
|
2017-12-01 08:30:32 +00:00
|
|
|
|
|
|
|
`mix help`
|