mix: add page

This commit is contained in:
Alexey Ershov 2017-11-29 21:10:56 +03:00 committed by GitHub
parent c173466f8e
commit fcd17f014b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

27
pages/common/mix.md Normal file
View File

@ -0,0 +1,27 @@
# mix
> Mix is a build tool that provides tasks for creating, compiling, and testing Elixir projects, managing its dependencies, and more.
- List all mix commands:
`mix help`
- Execute particular file:
`mix run {{my_script.exs}}`
- Create a new project:
`mix new {{project_name}}`
- Compile project:
`mix compile`
- Start an iex session inside the project:
`iex -S mix`
- Run project tests:
`mix test`