From fcd17f014bc48e212a866d721567c20a4ee1dbe8 Mon Sep 17 00:00:00 2001 From: Alexey Ershov Date: Wed, 29 Nov 2017 21:10:56 +0300 Subject: [PATCH] mix: add page --- pages/common/mix.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 pages/common/mix.md diff --git a/pages/common/mix.md b/pages/common/mix.md new file mode 100644 index 0000000000..f5b19b901f --- /dev/null +++ b/pages/common/mix.md @@ -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`