Mix (build tool)
Mix is a build automation tool for working with applications written in the Elixir programming language. Mix was created in 2012 by Anthony Grimes, who took inspiration from Clojure's Leiningen. Soon after, Mix was merged into the Elixir programming language itself and to this day is one of the six applications that are part of the Elixir language. Mix provides functionality for creating, compiling, and testing Elixir source code and for managing dependencies and deploying Elixir applications.
Mix tasks
Mix provides tasks to create, clean, build, compile, run, and test Elixir applications. For example, Mix may be used to create a new Elixir project, such as a new hello_world application. Running mix new hello_world will result in$ mix new hello_world
- creating README.md
- creating.formatter.exs
- creating.gitignore
- creating mix.exs
- creating config
- creating config/config.exs
- creating lib
- creating lib/hello_world.ex
- creating test
- creating test/test_helper.exs
- creating test/hello_world_test.exs
You can use "mix" to compile it, test it, and more:
cd hello_world
mix test
Run "mix help" for more commands.