Skip to content

Instantly share code, notes, and snippets.

@smpallen99
Created April 12, 2015 12:43
Show Gist options
  • Save smpallen99/a96a6dac9cbc805a8cbf to your computer and use it in GitHub Desktop.
Save smpallen99/a96a6dac9cbc805a8cbf to your computer and use it in GitHub Desktop.
Conform tuple support
# Provide documentation for cfg.settings.login_defaults here.
cfg.settings.login_defaults = {/orange,[email protected]}, {/orange/monitor,[email protected]}
[
mappings: [
"cfg.settings.login_defaults": [
doc: "Provide documentation for cfg.settings.login_defaults here.",
to: "cfg.settings.login_defaults",
datatype: [
list: :tuple
],
default: [
{"/orange", "[email protected]"},
{"/orange/monitor", "[email protected]"}
]
]
],
translations: [
]
]
use Mix.Config
config :cfg, :settings, [
login_defaults: [
{"/orange", "[email protected]"},
{"/orange/monitor", "[email protected]"},
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment