Packages
gen_template_escript
0.1.0
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
Current section
Files
template/$PROJECT_NAME$/config/config.exs
use Mix.Config
# config(:<%= @project_name %>, key: :value)
#
# And access this configuration in your application as:
#
# Application.get_env(:<%= @project_name %>, :key)
#
# Or configure a 3rd-party app:
#
# config(:logger, level: :info)
#
# Example per-environment config:
#
# import_config("#{Mix.env}.exs")