Packages

Generates escript projects. Elixir scripts have a module with a `main` function. This mix gen template acts as template for such scripts.

Current section

Files

Jump to
gen_template_escript lib escript.ex
Raw

lib/escript.ex

defmodule Mix.Gen.Template.Escript do
@moduledoc File.read!(Path.join([__DIR__, "../README.md"]))
use MixTemplates,
name: :escript,
short_desc: "Simple template for projects containing escript CLI module with main function",
source_dir: "../template",
options: [
]
end