by Example

Libraries


New libraries can be created using the `mix new` command,
From inside a project directory, it can be then
compiled using `mix compile` and tested using `mix test`.


The project will contain formatting options,

a default `.gitignore` file to instruct git to ignore
certain build artifacts and directories,

and a default documentation file.

All the library's source code will go in the `lib` directory.

The project meta information can be found inside `mix.exs`,

while all the tests will be located in the `test` directory.



$ mix new hello_world
$ ls hello_world

.formatter.exs


.gitignore

README.md

lib/

mix.exs

test/


Next: Applications