mix tux.new (tux_new v0.4.0)
Generate a command line Elixir project.
Usage
Generate a new project with a default tux skeleton:
$ mix tux.new mycli
Build, test & run the executable escript:
$ cd mycli
$ mix deps.get
$ mix test
$ mix escript.build
$ ./mycli ping
pong
Third, install the escript locally:
$ mix do escript.build + escript.install
Update PATH
To access your installed escript from anywhere on your machine do consider
adding ~/.mix/escripts
directory to your $PATH
environment variable.
Summary
Functions
Callback implementation for Mix.Task.run/1
.