From fcd17f014bc48e212a866d721567c20a4ee1dbe8 Mon Sep 17 00:00:00 2001 From: Alexey Ershov Date: Wed, 29 Nov 2017 21:10:56 +0300 Subject: [PATCH 1/3] 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 000000000..f5b19b901 --- /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` From 617eb67f7ba37572760858d6d60d0388c084d9e3 Mon Sep 17 00:00:00 2001 From: Alexey Ershov Date: Wed, 29 Nov 2017 21:24:50 +0300 Subject: [PATCH 2/3] Remove white space --- pages/common/mix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/common/mix.md b/pages/common/mix.md index f5b19b901..4f1e1ecae 100644 --- a/pages/common/mix.md +++ b/pages/common/mix.md @@ -24,4 +24,4 @@ - Run project tests: - `mix test` +`mix test` From a1d1179d530cd4289a9b52a9bfc3642718443226 Mon Sep 17 00:00:00 2001 From: Alexey Ershov Date: Fri, 1 Dec 2017 11:30:32 +0300 Subject: [PATCH 3/3] Update mix.md --- pages/common/mix.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pages/common/mix.md b/pages/common/mix.md index 4f1e1ecae..062fa06ec 100644 --- a/pages/common/mix.md +++ b/pages/common/mix.md @@ -2,11 +2,7 @@ > 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: +- Execute a particular file: `mix run {{my_script.exs}}` @@ -18,10 +14,10 @@ `mix compile` -- Start an iex session inside the project: - -`iex -S mix` - - Run project tests: `mix test` + +- List all mix commands: + +`mix help`